[PD-dev] getting the classname in an class

IOhannes m zmoelnig zmoelnig at iem.at
Mon Oct 29 18:43:02 CET 2007


Miller Puckette wrote:
> Hmm, well, the way Pd gets it is looking in the binbuf.  But perhaps you
> need to look in the binbuf for the object you're looking at, not that of
> the containing canvas, no?  Or, on the other hand. perhaps you're trying
> to get the name of the abstraction the object is part of?
> 

hmm, i think this is just a problem with the code i mentioned:
i pointed hc to the [iemguts/saveargs] object, to look how to get the 
classname of _a_ class.
the sole purpose of this object ([saveargs]) is to get (and set) the 
name (and arguments) of the abstraction it is living in.

obviously this is _not exactly_ what hc is looking for, it is only 
something similar.
copy-pasting will therefore not work, only reading and understanding :-)

mfga.sdr
IOhannes




More information about the Pd-dev mailing list