[PD] checking selections

Jonathan Wilkes jancsika at yahoo.com
Sun Apr 19 01:50:30 CEST 2015

Hi list,
Looking into the guts of Pd again.

There's a function called "glist_isselected" that checks whether an 
object is currently selected.

The first parameter is a pointer to a glist.  It seems to me that 
parameter should _always_ be wrapped in the function 
"glist_getcanvas()".  So if the relevant glist is "x", the first 
parameter should be "glist_getcanvas(x)".

Is there any situation where this wouldn't hold true?


More information about the Pd-list mailing list