Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

NCMenuButton Class Reference

#include <NCMenuButton.h>

Inheritance diagram for NCMenuButton:

YMenuButton NCWidget YWidget tnode< NCWidget * > NCursesError List of all members.

Public Member Functions

 NCMenuButton (NCWidget *parent, const YWidgetOpt &opt, YCPString label)
virtual ~NCMenuButton ()
virtual long nicesize (YUIDimension dim)
virtual void setSize (long newwidth, long newheight)
virtual NCursesEvent wHandleInput (wint_t key)
virtual void setLabel (const YCPString &nlabel)
virtual void setEnabling (bool do_bv)
virtual bool setKeyboardFocus ()

Protected Member Functions

virtual const char * location () const
virtual void wRedraw ()
virtual void createMenu ()
NCursesEvent postMenu ()

Private Member Functions

NCMenuButtonoperator= (const NCMenuButton &)
 NCMenuButton (const NCMenuButton &)

Private Attributes

NClabel label

Friends

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

Constructor & Destructor Documentation

NCMenuButton::NCMenuButton const NCMenuButton  )  [private]
 

NCMenuButton::NCMenuButton NCWidget parent,
const YWidgetOpt opt,
YCPString  label
 

NCMenuButton::~NCMenuButton  )  [virtual]
 


Member Function Documentation

void NCMenuButton::createMenu  )  [protected, virtual]
 

Implements YMenuButton.

virtual const char* NCMenuButton::location  )  const [inline, protected, virtual]
 

Reimplemented from NCWidget.

long NCMenuButton::nicesize YUIDimension  dim  )  [virtual]
 

Implements YWidget.

NCMenuButton& NCMenuButton::operator= const NCMenuButton  )  [private]
 

NCursesEvent NCMenuButton::postMenu  )  [protected]
 

virtual void NCMenuButton::setEnabling bool  do_bv  )  [inline, virtual]
 

Pure virtual to make shure every widget implements it. Necessary to make shure that UI requests via YWidget::setEnabling perform, and behave the same way as direct calls to NCWidget::setEnabling.

Defaut implementation is provided, and for most derived widgets it's ok to simply use it.

Implements NCWidget.

virtual bool NCMenuButton::setKeyboardFocus  )  [inline, virtual]
 

Reimplemented from YWidget.

void NCMenuButton::setLabel const YCPString nlabel  )  [virtual]
 

Reimplemented from YMenuButton.

void NCMenuButton::setSize long  newwidth,
long  newheight
[virtual]
 

Reimplemented from YWidget.

NCursesEvent NCMenuButton::wHandleInput wint_t  key  )  [virtual]
 

Reimplemented from NCWidget.

void NCMenuButton::wRedraw  )  [protected, virtual]
 

Reimplemented from NCWidget.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  STREAM,
const NCMenuButton OBJ
[friend]
 


Member Data Documentation

NClabel NCMenuButton::label [private]
 

Reimplemented from YMenuButton.


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 10:52:55 2005 for yast2-ncurses by  doxygen 1.4.4