libyui
2.42.5
|
#include <YEvent.h>
Protected Member Functions | |
virtual | ~YCancelEvent () |
![]() | |
void | setDialog (YDialog *dia) |
virtual | ~YEvent () |
void | invalidate () |
Additional Inherited Members | |
![]() | |
enum | EventType { NoEvent = 0, UnknownEvent, WidgetEvent, MenuEvent, KeyEvent, CancelEvent, TimeoutEvent, DebugEvent, InvalidEvent = 0x4242 } |
enum | EventReason { UnknownReason = 0, Activated, SelectionChanged, ValueChanged, ContextMenuActivated } |
![]() | |
YEvent (EventType eventType=UnknownEvent) | |
EventType | eventType () const |
unsigned long | serial () const |
virtual YWidget * | widget () const |
virtual YItem * | item () const |
YDialog * | dialog () const |
bool | isValid () const |
![]() | |
static const char * | toString (EventType eventType) |
static const char * | toString (EventReason reason) |
Event to be returned upon closing a dialog with the window manager close button (or Alt-F4)
|
inlineprotectedvirtual |
Protected destructor - events can only be deleted via YDialog::deleteEvent(). The associated dialog will take care of this event and delete it when appropriate.