On Jun 19, 2008, at 12:10 AM, Claude Heiland-Allen wrote: > Hans-Christoph Steiner wrote: >> About this comment in getpatchname.c: "At some point we need to be >> to get the new patch name if it changes, couldn't make this work >> though", you should be able to do this in getpatchname_bang(): >> outlet_symbol(x->outlet, canvas_getcurrent()->gl_name); > > Nope: > > http://lists.puredata.info/pipermail/pd-dev/2004-11/003023.html
Ah right. So then store the t_canvas pointer and do this: outlet_symbol(x->outlet, x->my_t_canvas->gl_name); .hc ------------------------------------------------------------------------ ---- I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr. _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
