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 |
NCWidget * | widget |
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 |