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

List of all members.

Public Member Functions

 NCCheckBox (YWidget *parent, const std::string &label, bool checked)
virtual int preferredWidth ()
virtual int preferredHeight ()
virtual void setSize (int newWidth, int newHeight)
virtual void setLabel (const std::string &nlabel)
virtual void setValue (YCheckBoxState state)
virtual YCheckBoxState value ()
virtual NCursesEvent wHandleInput (wint_t key)
virtual void setEnabled (bool do_bv)
virtual bool setKeyboardFocus ()

Protected Types

enum  State { S_DC = 0, S_OFF = 1, S_ON = 2 }

Protected Member Functions

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

Friends

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

Detailed Description

Definition at line 34 of file NCCheckBox.h.


Member Function Documentation

void NCCheckBox::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 66 of file NCCheckBox.cc.


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