|
|
I'm trying to figure out how to set one specific radio button in a section of my menu.
I am dynamically generating the menu entries in question, by using the menu bar's "insert" method. The menu entries are displayed correctly.
I see the "setonly" method in the Fl_Menu_ class, but it takes a Fl_Menu_Item* as a parameter, and the only methods that return a menu item all return "const Fl_Menu_Item*" pointers. How am I supposed to find the right pointer without casting away the const, which, I assume, is there for a good reason?
Eric
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAPiqgzM%2BuGwE4K4up_SjdKDkbwAoqZiyE01xHMqzenxZYto48g%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |