[PD-dev] [PD] [PD]sys_vgui()?

IOhannes m zmoelnig zmoelnig at iem.at
Mon Oct 15 16:30:51 CEST 2007


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.

fmasd.r
IOhannes




More information about the Pd-dev mailing list