Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

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

EventReason YWidgetEvent::reason  )  const [inline]
 

Returns the reason for this event. This very much like an event sub-type.

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  )  const [inline]
 

Returns the widget that caused this event. This might as well be 0 if this is not a widget event.

YCPMap YWidgetEvent::ycpEvent  )  [virtual]
 

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

Reimplemented from YEvent.

Reimplemented from YEvent.


Member Data Documentation

EventReason YWidgetEvent::_reason [protected]
 

YWidget* YWidgetEvent::_widget [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6