libyui-ncurses
2.44.1
|
Public Member Functions | |
NCSelectionBox (YWidget *parent, const std::string &label) | |
bool | bigList () const |
void | setBigList (const bool big) |
virtual void | addItem (YItem *item) |
virtual void | addItem (const std::string &itemLabel, bool selected=false) |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
virtual void | setLabel (const std::string &nlabel) |
virtual int | getCurrentItem () |
virtual void | setCurrentItem (int index) |
virtual void | selectItem (YItem *item, bool selected) |
virtual void | selectItem (int index) |
virtual NCursesEvent | wHandleInput (wint_t key) |
virtual void | setEnabled (bool do_bv) |
virtual bool | setKeyboardFocus () |
std::string | getLine (const int &index) |
void | clearTable () |
void | deleteAllItems () |
Protected Member Functions | |
virtual NCTablePad * | myPad () const |
virtual const char * | location () const |
virtual NCPad * | CreatePad () |
virtual void | wRecoded () |
Protected Attributes | |
bool | biglist |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCSelectionBox &OBJ) |
Definition at line 35 of file NCSelectionBox.h.
void NCSelectionBox::deleteAllItems | ( | ) |
Clear the table and the lists holding the values
Definition at line 248 of file NCSelectionBox.cc.
virtual NCTablePad* NCSelectionBox::myPad | ( | ) | const [inline, protected, virtual] |
Overload myPad to narrow the type
Reimplemented from NCPadWidget.
Definition at line 48 of file NCSelectionBox.h.
void NCSelectionBox::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.
Reimplemented from NCPadWidget.
Definition at line 68 of file NCSelectionBox.cc.