[PD-dev] 2 things

Krzysztof Czaja czaja at chopin.edu.pl
Thu Jan 30 14:41:56 CET 2003

hi Thomas,

a 'canvas' is meant to be the contents (i.e. the 'glist') of an
open patcher window.  Since canvas' data structure is just
a typedefed glist's one, you may substitute t_glist for t_canvas
without a cast.  In a way, they are same thing, as long as a glist
is not gop. See glist_getcanvas() in g_graph.c.

Whether all this will be valid in 0.37 only Miller can tell...


Thomas Grill wrote:
> 1) could anyone explain me the difference between a canvas and a glist?

More information about the Pd-dev mailing list