libyui-mga  1.1.0
YMGAMenuBar Class Reference
Inheritance diagram for YMGAMenuBar:
Collaboration diagram for YMGAMenuBar:

Public Member Functions

virtual ~YMGAMenuBar ()
 Destructor.
 
virtual const char * widgetClass () const
 Return a descriptive name of this widget class for logging, debugging etc.
 
virtual void enableItem (YItem *menu_item, bool enable=true)
 Enable YMGAMenuItem (menu name or menu entry) to enable/disable it into menubar or menu. More...
 
virtual void hideItem (YItem *menu_item, bool invisible=true)
 Hide YMGAMenuItem (menu name or menu entry) to hide/show it into menubar or menu. More...
 

Protected Member Functions

 YMGAMenuBar (YWidget *parent)
 Constructor.
 

Detailed Description

Definition at line 34 of file YMGAMenuBar.h.

Member Function Documentation

◆ enableItem()

void YMGAMenuBar::enableItem ( YItem *  menu_item,
bool  enable = true 
)
virtual

Enable YMGAMenuItem (menu name or menu entry) to enable/disable it into menubar or menu.

Definition at line 48 of file YMGAMenuBar.cc.

Here is the call graph for this function:

◆ hideItem()

void YMGAMenuBar::hideItem ( YItem *  menu_item,
bool  invisible = true 
)
virtual

Hide YMGAMenuItem (menu name or menu entry) to hide/show it into menubar or menu.

Definition at line 56 of file YMGAMenuBar.cc.

Here is the call graph for this function:

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