libyui-ncurses  2.44.1
NCMenuButton Class Reference
Inheritance diagram for NCMenuButton:
Collaboration diagram for NCMenuButton:

List of all members.

Public Member Functions

 NCMenuButton (YWidget *parent, std::string label)
virtual int preferredWidth ()
virtual int preferredHeight ()
virtual void setSize (int newWidth, int newHeight)
virtual void rebuildMenuTree ()
virtual NCursesEvent wHandleInput (wint_t key)
virtual void setLabel (const std::string &nlabel)
virtual void setEnabled (bool do_bv)
YMenuItem * findItem (int selection)
virtual bool setKeyboardFocus ()

Protected Member Functions

virtual const char * location () const
virtual void wRedraw ()
NCursesEvent postMenu ()

Friends

std::ostream & operator<< (std::ostream &STREAM, const NCMenuButton &OBJ)

Detailed Description

Definition at line 35 of file NCMenuButton.h.


Member Function Documentation

void NCMenuButton::setEnabled ( bool  do_bv) [virtual]

Pure virtual to make sure every widget implements it. Necessary to make sure that UI requests via YWidget::setEnabled perform, and behave the same way as direct calls to NCWidget::setEnabled.

Implements NCWidget.

Definition at line 61 of file NCMenuButton.cc.


The documentation for this class was generated from the following files:
 All Classes Functions Variables