On Sep 1, 2009, at 4:55 PM, Mathieu Bouchard wrote:
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).
Are there any existing methods? I am actually thinking Tcl/GUI side.
.hc
----------------------------------------------------------------------------
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams