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