libyui-mga  1.1.0
YMenuSeparator Class Reference

YMenuSeparator class for menu separator. More...

#include <YMGAMenuItem.h>

Inheritance diagram for YMenuSeparator:
Collaboration diagram for YMenuSeparator:

Public Member Functions

 YMenuSeparator (YMGAMenuItem *parent)
 Constructor. More...
 
- Public Member Functions inherited from YMGAMenuItem
 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
 
YMGAMenuItemparent () const
 Returns this item's parent item or 0 if it is a toplevel item.
 

Detailed Description

YMenuSeparator class for menu separator.

Definition at line 129 of file YMGAMenuItem.h.

Constructor & Destructor Documentation

◆ YMenuSeparator()

YMenuSeparator::YMenuSeparator ( YMGAMenuItem parent)
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.


The documentation for this class was generated from the following file: