On 03.08.2012, at 19:39, David FLEURY <[email protected]> wrote: > >> IMHO best practice is to use FLUID. You can assign variable names to each >> menu item and use thos later to change labels or shortcut, query values, >> anything you need. > > It seems, is it not possible to have these variables names available > directly in the Fl_Menu_Bar for example ?
No. C++ can not provide this kind of interface (assuming I understand you right). In FLTK3, MenuItems will be regular widgets, just like everything else. Adding a menu item will not change the address of any other item. This code will be copied from FLTK2. If you are in a hurry and willing to try FLTK3, I will give these menu style a high priority... ;-) _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

