mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 03:15:21 +08:00
Added void Fl_Sys_Menu_Bar::setonly(Fl_Menu_Item*) member function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -88,7 +88,9 @@ public:
|
|||||||
int mode(int i) const { return Fl_Menu_::mode(i); }
|
int mode(int i) const { return Fl_Menu_::mode(i); }
|
||||||
/** Changes the shortcut of item i to n.
|
/** Changes the shortcut of item i to n.
|
||||||
*/
|
*/
|
||||||
void shortcut (int i, int s) { Fl_Menu_::shortcut(i, s); update(); };
|
void shortcut (int i, int s) { Fl_Menu_::shortcut(i, s); update(); }
|
||||||
|
/** Turns the radio item "on" for the menu item and turns "off" adjacent radio items of the same group.*/
|
||||||
|
void setonly (Fl_Menu_Item *item) { Fl_Menu_::setonly(item); update(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user