Public Member Functions | |
MenuItem (const std::string &label) | |
MenuItem (Icon *icon, const std::string &label) | |
virtual bool | canHoldPermanentFocus () const |
|
Create a new MenuItem with the given string as label.
|
|
Returns wether or not this Component can be a permanent focus owner. This is true by default, except for things like MenuItems, where a menu is the permanent focus owner and a menuitem merely a focus owner. Reimplemented from ui::Component. Reimplemented in ui::Menu. |