On 17.08.2012, at 22:22, David FLEURY <[email protected]> wrote: > Hi, > > In the Fl_Menu_Bar, when adding an item which has a FL_SUBMENU flag on, > can I have a callback called (using a specific when) ? > I have try callback available on Fl_Menu_Item, but it's seems to work > only on "regular" Fl_Menu_Item. > > I am trying to recompute the submenu when the user will open the submenu > (An open previous file list ( in a Nedit way)
No, AFAIK, the callback on a submenu item is never called. It could be changed in the library code though. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

