YWidgetEvent Class Reference

#include <YEvent.h>

Inheritance diagram for YWidgetEvent:

YEvent List of all members.

Public Member Functions

 YWidgetEvent (YWidget *widget=0, EventReason reason=Activated, EventType eventType=WidgetEvent)
YWidgetwidget () const
EventReason reason () const
virtual YCPMap ycpEvent ()
virtual YCPValue userInput ()

Protected Attributes

YWidget_widget
EventReason _reason

Constructor & Destructor Documentation

YWidgetEvent::YWidgetEvent ( YWidget widget = 0,
EventReason  reason = Activated,
EventType  eventType = WidgetEvent 
)

Constructor.


Member Function Documentation

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]

Constructs a YCP map to be returned upon UI::WaitForEvent().

Reimplemented from YEvent.

Reimplemented from YEvent.

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.


Member Data Documentation

YWidget* YWidgetEvent::_widget [protected]

EventReason YWidgetEvent::_reason [protected]


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 01:20:24 2007 for yast2-core by  doxygen 1.5.0