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

List of all members.

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 NCPadmyPad () 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 NCPadCreatePad ()
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)

Detailed Description

Definition at line 37 of file NCPadWidget.h.


Member Function Documentation

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.


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