Hi Tim,
always call it from the new() routine; otherwise the current canvas is undefined. You can store the pointer for later (an object's parent canvas is guaranteed never to change.)
cheers Miller
On Sun, Oct 31, 2004 at 11:13:21PM +0100, Tim Blechmann wrote:
hi all ...
i'm curious about the behaviour of canvas_getcurrent() ... i'm using it in k_cext and only get NULL ...
is there anything i have to pay attention on when using it?
cheers ... tim
-- mailto:TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev