[PD] send message to current pd-window

IOhannes m zmölnig zmoelnig at iem.at
Wed Aug 28 13:42:11 CEST 2013


On 08/28/13 06:25, Ingo wrote:
> Somehow Pd has to keep track of which window is currently opened and active.

not really.
pd-gui (tcl/tk) handles all those things. if it detects an event on
window "foo", it will send a message to Pd with the receiver "foo".

so Pd is quit agnostic about which window is currently open, and allows
for multiple windows to send events "simulatenously".

i've been exploiting this in Peer Data, to allow M users patch on N
windows at the same time (usually N<=M).

gfmasdr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130828/ff2f31c8/attachment.pgp>


More information about the Pd-list mailing list