libyui-ncurses
 
Loading...
Searching...
No Matches
NCursesEvent Class Reference
Inheritance diagram for NCursesEvent:
Collaboration diagram for NCursesEvent:

Public Types

enum  Type {
  handled = -1 , none = 0 , cancel , timeout ,
  button , menu , key , debug ,
  special_key_config
}
 
enum  DETAIL { NODETAIL = -1 , CONTINUE = -2 , USERDEF = -3 }
 

Public Member Functions

 NCursesEvent (Type t=none, YEvent::EventReason r=YEvent::UnknownReason)
 
 operator void * () const
 
bool operator== (const NCursesEvent &e) const
 
bool operator!= (const NCursesEvent &e) const
 
bool isReturnEvent () const
 
bool isInternalEvent () const
 

Public Attributes

Type type
 
NCWidgetwidget
 
YMenuItem * selection
 
std::string result
 
std::string keySymbol
 
int detail
 
YEvent::EventReason reason
 

Static Public Attributes

static const NCursesEvent Activated
 
static const NCursesEvent SelectionChanged
 
static const NCursesEvent ValueChanged
 

The documentation for this class was generated from the following files: