libyui
|
#include <YEvent.h>
Public Member Functions | |
YMenuEvent (YItem *item) | |
YMenuEvent (const char *id) | |
YMenuEvent (const string &id) | |
virtual YItem * | item () const |
string | id () const |
Protected Member Functions | |
virtual | ~YMenuEvent () |
Protected Attributes | |
YItem * | _item |
string | _id |
Event to be returned upon menu selection.
virtual YMenuEvent::~YMenuEvent | ( | ) | [inline, protected, virtual] |
Protected destructor - events can only be deleted via YDialog::deleteEvent(). The associated dialog will take care of this event and delete it when appropriate.
string YMenuEvent::id | ( | ) | const [inline] |
Return the string ID of this event. This will be an empty string if the event was constructed with a YItem.
virtual YItem* YMenuEvent::item | ( | ) | const [inline, virtual] |