DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1758
Version: 2.0-feature


It would be good if some of the functionalities were added to the Fl_Menu_
class:

    o Clear all items in a named submenu, eg. 
      int clear_submenu("File/Save As/Recent");
      ..returns -1 if not found.

    o Find item by index. Similar to the current find_item(),
      but returns an index instead of an item pointer, eg.
      int find_index("Edit/Copy");
      ..returns -1 if not found.

Regarding clear_submenu(), the code on this page for ClearItemsBelow()
might be of good reference:
http://www.seriss.com/people/erco/fltk/#Fl_Menu_Bar


Link: http://www.fltk.org/str.php?L1758
Version: 2.0-feature

_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to