[PD-dev] getting the classname in an class
Mathieu Bouchard
matju at artengine.ca
Sat Oct 27 20:53:46 CEST 2007
On Sat, 27 Oct 2007, IOhannes m zmoelnig wrote:
> Mathieu Bouchard 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);
> that is because the example i mentioned does exactly this: get the
> arguments of the parent.
Oh, I didn't realise that it was quoted from you.
But it does not do exactly what you say it does. If the parent is a closed
gop, it fetches the arguments of the parent of the parent, ...
recursively. yes?
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
More information about the Pd-dev
mailing list