libyui-ncurses
2.44.1
|
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) |
Definition at line 35 of file NCMenuButton.h.
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.