libyui-mga
1.1.0
|
YMenuSeparator class for menu separator. More...
#include <YMGAMenuItem.h>
Public Member Functions | |
YMenuSeparator (YMGAMenuItem *parent) | |
Constructor. More... | |
![]() | |
YMGAMenuItem (const std::string &label) | |
Constructors for toplevel items. | |
YMGAMenuItem (const std::string &label, const std::string &iconName) | |
Constructor with label and icon. More... | |
YMGAMenuItem (YMGAMenuItem *parent, const std::string &label) | |
Constructors for items that have a parent item. More... | |
YMGAMenuItem (YMGAMenuItem *parent, const std::string &label, const std::string &iconName) | |
virtual | ~YMGAMenuItem () |
Destructor. More... | |
virtual bool | enabled () |
is Menu item enabled? | |
virtual void | enable (bool en=true) |
enable/disable Menu Item | |
virtual bool | hidden () |
is Menu item hidden? | |
virtual void | hide (bool invisibile=true) |
hide/show Menu Item | |
YMGAMenuItem * | parent () const |
Returns this item's parent item or 0 if it is a toplevel item. | |
YMenuSeparator class for menu separator.
Definition at line 129 of file YMGAMenuItem.h.
|
inline |
Constructor.
A menu separator must have a partent Note that hidden and enable properties are not managed for separator by now, considering this a bit out of libyui aim.
Definition at line 137 of file YMGAMenuItem.h.