#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 |
|
Constructor. |
|
Returns the reason for this event. This very much like an event sub-type. |
|
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. |
|
Returns the widget that caused this event. This might as well be 0 if this is not a widget event. |
|
Constructs a YCP map to be returned upon UI::WaitForEvent(). Reimplemented from YEvent. Reimplemented from YEvent. |
|
|
|
|