The attached patch provides a 'get' method for the toggle object. This allows the current state of the toggle to be retrieved via it's outlet. Patch against g_toggle.c (revision 10450).
I don't think this is necessary, and the "get" name is confusing (doesn't match up with
other uses of the word 'get'. Maybe it would be better to give ALL guis plus "f" and "s" objects
a method to "send" their values to a specified symbol?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
which other uses of "get" ? There are lots of externals that use the name 'get' to get the value of attributes, which are then sent through the rightmost outlet, usually.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Patch for g_toggle.c
I don't think this is necessary, and the "get" name is confusing (doesn't match up with
other uses of the word 'get'. Maybe it would be better to give ALL guis plus "f" and "s" objects
a method to "send" their values to a specified symbol?
which other uses of "get" ? There are lots of externals that use the name 'get' to get the value of attributes, which are then sent through the rightmost outlet, usually.