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