[PD-dev] [PD] [PD]sys_vgui()?
Hans-Christoph Steiner
hans at eds.org
Tue Oct 16 21:07:37 CEST 2007
On Oct 15, 2007, at 10:30 AM, IOhannes m zmoelnig wrote:
> Lluis Gómez i Bigordà wrote:
>> hi list, just a question about sys_vgui() ...
>>
>> i'm trying to get some info about a widget on the pd canvas,
>> but sys_vgui() is declared to retun void ... so i cannot get anything
>> using this function ...
>>
>> there is another way to run tcl/tk scripts in the pd canvas and
>> get the
>> returned data of this scripts?
>>
>
> the way to do this is via a callback function:
> with sys_vgui you call a function in the pd-gui process, which then
> can
> send back a message to a pd; you have to bind your object to a special
> receiver to receive this message.
>
> you will also be able to receive this message via a [r <special
> receiver>] object, there is no way to do an exclusive communication.
Does anyone know of a simple, clean example of this in action? I was
looking for something similar in the past.
.hc
------------------------------------------------------------------------
----
All information should be free. - the hacker ethic
More information about the Pd-dev
mailing list