[PD-dev] how am I being created?
Miller Puckette
mpuckett at man104-1.ucsd.edu
Mon Nov 18 17:37:40 CET 2002
GUI objects can do this: give yourself a "save" method that invokes the
object differently. Regular text objects probably can't do it reliably,
although if there was a good reason for it I could put in a function for
detecting this...
cheers
Miller
On Mon, Nov 18, 2002 at 04:11:03PM +0100, Krzysztof Czaja wrote:
> hi Miller, hi all,
>
> is there any way for a constructor ('new' function) of an external
> to know whether an object is 1. loaded from a file, or 2. created
> from menu (typed in, pasted/duplicated, etc.)?
>
> Krzysztof
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
More information about the Pd-dev
mailing list