libyui-ncurses
2.44.1
|
#include <NCtoY2Event.h>
Public Member Functions | |
NCtoY2Event () | |
NCtoY2Event (const NCursesEvent &ncev) | |
NCtoY2Event & | operator= (const NCursesEvent &ncev) |
YEvent * | propagate () |
![]() | |
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 |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const NCtoY2Event &event) |
Additional Inherited Members | |
![]() | |
enum | Type { handled = -1, none = 0, cancel, timeout, button, menu, key } |
enum | DETAIL { NODETAIL = -1, CONTINUE = -2, USERDEF = -3 } |
![]() | |
Type | type |
NCWidget * | widget |
YMenuItem * | selection |
std::string | result |
std::string | keySymbol |
int | detail |
YEvent::EventReason | reason |
![]() | |
static const NCursesEvent | Activated |
static const NCursesEvent | SelectionChanged |
static const NCursesEvent | ValueChanged |
Helper class for translating an NCurses event to a YEvent.
Definition at line 36 of file NCtoY2Event.h.
|
inline |
Default constructor
Definition at line 46 of file NCtoY2Event.h.
NCtoY2Event::NCtoY2Event | ( | const NCursesEvent & | ncev | ) |
Constructor from an NCursesEvent
Definition at line 33 of file NCtoY2Event.cc.
NCtoY2Event & NCtoY2Event::operator= | ( | const NCursesEvent & | ncev | ) |
Assignment operator
Definition at line 40 of file NCtoY2Event.cc.
YEvent * NCtoY2Event::propagate | ( | ) |
The reason of existence of this class: Translate the NCursesEvent to a YEvent.
Definition at line 52 of file NCtoY2Event.cc.