[PD-dev] TCL/TK command results
guenter geiger
geiger at xdv.org
Mon Aug 26 19:30:54 CEST 2002
On Thu, 22 Aug 2002, Krzysztof Czaja wrote:
> hi Thomas,
>
> Thomas Grill wrote:
> ...
> > is there a way for an external to get the return values from the TCL/TK
> > widget commands?
>
> one simple way to do that would be to bind your external object to
> a unique <target> symbol, and send it any value from within your
> tcl proc with something like
>
> pd [concat <target> <value>]
one good thing about using this mechanism is that you can use native tk
widgets for gui objects, which is a lot better with regards to
performance, because the drawing stuff is done in the low priority
gui process.
I have tried toying around with this mechanism lately.
Guenter
>
> > That would be really powerful. Somehow i'm gradually making friends with
> > TCL/TK.
>
> great!
>
> Krzysztof
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
>
More information about the Pd-dev
mailing list