Mathieu Bouchard wrote:
> On Sat, 27 Oct 2007, Hans-Christoph Steiner wrote:
> 
>>   t_canvas *canvas = (t_canvas*)glist_getcanvas(glist);
>>   t_atom *ap = binbuf_getvec(canvas->gl_obj.te_binbuf);
>>   t_symbol *s = atom_getsymbol(ap);
> 
> ah, you seem to have found the same thing that i just thought about and
> sent you, but you're doing it on the rendering canvas of a canvas.

that is because the example i mentioned does exactly this: get the
arguments of the parent.
obviously it is simpler if you need your own args.
nevertheless, it should show (among other things) how to solve hc's problem.
sorry if it was confusing, it was just the 1st example that came to my
mind (and [saveargs] being what it is, does nothing much besides the
wanted functionality; but "nothing much" is not "nothing")

fgmadr
IOhannes

_______________________________________________
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev

Reply via email to