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...
Krzysztof
Thomas Grill wrote: ...
- could anyone explain me the difference between a canvas and a glist?