#include <YEvent.h>
Inheritance diagram for YWidgetEvent:

Public Member Functions | |
| YWidgetEvent (YWidget *widget=0, EventReason reason=Activated, EventType eventType=WidgetEvent) | |
| YWidget * | widget () const |
| EventReason | reason () const |
| virtual YCPMap | ycpEvent () |
| virtual YCPValue | userInput () |
Protected Attributes | |
| YWidget * | _widget |
| EventReason | _reason |
| YWidgetEvent::YWidgetEvent | ( | YWidget * | widget = 0, |
|
| EventReason | reason = Activated, |
|||
| EventType | eventType = WidgetEvent | |||
| ) |
Constructor.
| YWidget* YWidgetEvent::widget | ( | ) | const [inline] |
Returns the widget that caused this event. This might as well be 0 if this is not a widget event.
| EventReason YWidgetEvent::reason | ( | ) | const [inline] |
Returns the reason for this event. This very much like an event sub-type.
| YCPMap YWidgetEvent::ycpEvent | ( | ) | [virtual] |
| YCPValue YWidgetEvent::userInput | ( | ) | [virtual] |
Returns the ID to be returned upon UI::UserInput(). This is the same as the "id" field of the ycpEvent() map.
Reimplemented from YEvent.
Reimplemented from YEvent.
YWidget* YWidgetEvent::_widget [protected] |
EventReason YWidgetEvent::_reason [protected] |
1.5.0