Hi list, I'm trying to control some Tk GUI's with toxy scripts... I understood some concept, but there's still a lot of darkness...
-I have to get a string out of a [tow . symbol id], in this case content of the symbol (Tk's 'entry') GUI. I get it with get[]. I took the doc's example (examples/toxy/listbox-example.pd), but I don't understand this line (var substituted...):
pd [concat .| _cb set [.- get [.- curselection]]
how to use pd [] ? what doe's mean _cb?
-Why do we have to use escapes? .( .) .: etc...
-isn't there any consistent documentation? I just found this (unachieved): http://suita.chopin.edu.pl/~czaja/miXed/externs/toxy.html
-Is the project going on?
Thank's
Toxy hasn't been touched in a while, but I believe its in a working
state. It is a pretty complicated thing, but maybe not so bad if you
know Tcl.
If you know C and Tcl, then I started the tkwidgets library to make it
easier to write Pd GUI widgets that are basically straight from the Tk
and Ttk widgets. That's in pure-data SVN:
http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/tkwidg...
Check out checkbutton.c and text.c for examples of how to wrap Tk
widgets.
.hc
On Sep 7, 2010, at 7:08 PM, Raphael Raccuia wrote:
Hi list, I'm trying to control some Tk GUI's with toxy scripts... I
understood some concept, but there's still a lot of darkness...-I have to get a string out of a [tow . symbol id], in this case
content of the symbol (Tk's 'entry') GUI. I get it with get[]. I
took the doc's example (examples/toxy/listbox-example.pd), but I
don't understand this line (var substituted...):pd [concat .| _cb set [.- get [.- curselection]]
how to use pd [] ? what doe's mean _cb?
-Why do we have to use escapes? .( .) .: etc...
-isn't there any consistent documentation? I just found this
(unachieved): http://suita.chopin.edu.pl/~czaja/miXed/externs/toxy.html-Is the project going on?
Thank's
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Man has survived hitherto because he was too ignorant to know how to
realize his wishes. Now that he can realize them, he must either
change them, or perish. -William Carlos Williams