[PD] "get" method for Pd

Jonathan Wilkes jancsika at yahoo.com
Thu Nov 17 21:51:19 CET 2011

----- Original Message -----

> From: katja <katjavetter at gmail.com>
> To: pd-list at iem.at
> Cc: 
> Sent: Thursday, November 17, 2011 3:33 PM
> Subject: Re: [PD] "get" method for Pd
> Say you'd have a [global] object, with a getter and / or setter for
> things like dsp, samplerate, version etc.Obviously, some things are
> gettable but not settable, like version or path/to/pd, and some things
> are not even gettable in certain circumstances, like IOhannes pointed
> out. The object would then give an error message which you can catch.
> For local info you'd have another object, for example [this] for the
> window, (like MaxMsp has [thispatcher]).

I think [thispatcher] would be analogous to [sendcanvas], or, a pointer to 
the head of a glist, which you can get with [pointer] and use its 
"send-window" method to send messages to it.  My canvas "get" method 
patch makes it possible to get a pointer to the parent of a canvas, so you 
can essentially write your own "sendcanvas" abstraction.


> Katja
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list