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: 1.3-feature





Link: http://www.fltk.org/str.php?L1758
Version: 1.3-feature
int Fl_Menu_::clear_submenu(int index) {
  if ( ! (menu_[index].flags & FL_SUBMENU) )    // index must be a submenu
    return(-1);
  ++index;                                      // advance to first item
  while ( index < size() ) {
    if ( menu_[index].text == 0 ) break;        // end of this submenu? done
    remove(index);                              // remove items/submenus
  }
  return(0);
}
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to