|
YWidget * | _widget |
|
EventReason | _reason |
|
|
enum | EventType {
NoEvent = 0,
UnknownEvent,
WidgetEvent,
MenuEvent,
KeyEvent,
CancelEvent,
TimeoutEvent,
DebugEvent,
InvalidEvent = 0x4242
} |
|
enum | EventReason {
UnknownReason = 0,
Activated,
SelectionChanged,
ValueChanged,
ContextMenuActivated
} |
|
static const char * | toString (EventType eventType) |
|
static const char * | toString (EventReason reason) |
|
Definition at line 165 of file YEvent.h.
YWidgetEvent::YWidgetEvent |
( |
YWidget * |
widget = 0 , |
|
|
EventReason |
reason = Activated , |
|
|
EventType |
eventType = WidgetEvent |
|
) |
| |
virtual YWidgetEvent::~YWidgetEvent |
( |
| ) |
|
|
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.
Definition at line 194 of file YEvent.h.
EventReason YWidgetEvent::reason |
( |
| ) |
const |
|
inline |
Returns the reason for this event. This very much like an event sub-type.
Definition at line 185 of file YEvent.h.
virtual YWidget* YWidgetEvent::widget |
( |
| ) |
const |
|
inlinevirtual |
Returns the widget that caused this event. Reimplemented from YEvent.
Reimplemented from YEvent.
Definition at line 180 of file YEvent.h.
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/libyui-3.0.10/src/YEvent.h
- /home/abuild/rpmbuild/BUILD/libyui-3.0.10/src/YEvent.cc