[PD] Is there a way to get the canvas my object is at runtime ?
antoine.villeret at gmail.com
Tue Mar 3 17:52:47 CET 2015
I would like to retrieve at any time the pointer to the t_canvas containing
Is that possible ?
I know I can retrieve it with something like :
t_glist *glist=(t_glist *)canvas_getcurrent();
in the myobject_new() method.
But the same give me a (nil) t_canvas pointer outside the new() method.
Thanks in advance.
do it yourself
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list