On Tue, 1 Sep 2009, Hans-Christoph Steiner wrote:
I'm playing around with some GUI behaviors, and I was wondering if anyone
knows a way to tell that the patch is finished loading and 'pd' has finished
sending all of the Tcl/sys_gui drawing commands.
This would be a very useful hook for attaching Tcl procs for making dynamic
GUI behaviors.
just ping the client... depends a bit on the branch...
miller: sys_gui("pd %s done \\;\n",rcv->s_name);
hans: sys_gui("pdsend \"%s done\"\n",rcv->s_name);
matju: sys_gui("netsend \"%s done\"\n",rcv->name);
provided that you have done pd_bind((t_pd *)self,rcv); and
a class_addmethod for the name "done" (the callback).
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev