[PD] who is using [entry]?
Hans-Christoph Steiner
hans at eds.org
Wed Nov 14 16:56:53 CET 2007
On Nov 14, 2007, at 8:14 AM, Patrice Colet wrote:
> Hans-Christoph Steiner a écrit :
>> On Nov 13, 2007, at 6:54 PM, Frank Barknecht wrote:
>>> Hallo,
>>> Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
>>>
>>>> Now I am going to apply what I have learned to a how library
>>>> based on
>>>> the Tk widgets. I am naming them after the Tk widgets, so that
>>>> would
>>>> mean making an object called [entry] with is a text entry box, and
>>>> renaming the currently [entry] to [text].
>>> As [text] is a pretty common word, that could mean anything, it came
>>> to my mind: Do you plan some kind of namespace for the new GUI
>>> objects?
>> I want to keep the same names as the Tk widgets, that's why I
>> chose that name. That way it's very easy to use the Tk docs for
>> these widgets. The options are the same too. It will be in the
>> lib tkwidgets, so tkwidgets/text will always be possible.
>> Hopefully this doesn't cause any problems.
>> These are the widgets I plan on implementing:
>> http://puredata.info/dev/TkWidget
>> .hc
>
> Very nice!
>
> I see you propose to draw a rectangle, what about other shapes?
> I'm particulary interested by the line.
Hmm, did I add that? I guess so... I don't think I'll include any
shapes in this, just Tk widgets. For shapes, use data structures.
Or for just a rectangle there is [cnv], [grid], [gcanvas] and maybe
others.
> Also, how would we proceed for binding with this set of patches?
Binding what to what? Using [canvas_name], [window_name], and
[sys_gui], (or toxy) you can interact with the widgets on a Tcl/Tk
level, then you can do all sorts of stuff.
.hc
------------------------------------------------------------------------
----
All information should be free. - the hacker ethic
More information about the Pd-list
mailing list