libyui-ncurses
2.44.1
|
Public Member Functions | |
NCPadWidget (NCWidget *myparent=0) | |
NCPadWidget (YWidget *parent) | |
size_t | Columns () |
void | setLabel (const NClabel &nlabel) |
virtual void | setEnabled (bool do_bv) |
Protected Member Functions | |
virtual NCPad * | myPad () const |
void | startMultidraw () |
void | stopMultidraw () |
bool | inMultidraw () const |
virtual const char * | location () const |
unsigned | labelWidth () const |
virtual void | wCreate (const wrect &newrect) |
virtual void | wDelete () |
virtual void | wRedraw () |
virtual void | wRecoded () |
wsze | defPadSze () const |
virtual NCPad * | CreatePad () |
virtual void | DrawPad () |
void | InitPad () |
void | AdjustPad (wsze nsze) |
void | DelPad () |
virtual void | HScroll (unsigned total, unsigned visible, unsigned start) |
virtual void | VScroll (unsigned total, unsigned visible, unsigned start) |
virtual void | ScrollHead (NCursesWindow &w, unsigned ccol) |
virtual void | AdjustPadSize (wsze &minsze) |
virtual bool | handleInput (wint_t key) |
Protected Attributes | |
bool | hasHeadline |
bool | activeLabelOnly |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCPadWidget &OBJ) |
Definition at line 37 of file NCPadWidget.h.
virtual NCPad* NCPadWidget::myPad | ( | ) | const [inline, protected, virtual] |
Return the current pad. Make it virtual so descendant classes can narrow the return type.
Reimplemented in NCTable, NCTree, NCMultiSelectionBox, NCMultiLineEdit, and NCSelectionBox.
Definition at line 62 of file NCPadWidget.h.
virtual void NCPadWidget::setEnabled | ( | bool | do_bv | ) | [inline, 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.
Reimplemented in NCRichText, NCMultiSelectionBox, NCTree, NCSelectionBox, NCMultiLineEdit, NCTable, and NCLogView.
Definition at line 123 of file NCPadWidget.h.