libyui
3.3.1
|
Helper class: Event filter that handles "Help" buttons. More...
Public Member Functions | |
YHelpButtonHandler (YDialog *dialog) | |
YEvent * | filter (YEvent *event) |
The heart of the matter: The event filter function. More... | |
![]() | |
virtual | ~YEventFilter () |
Destructor. More... | |
YDialog * | dialog () const |
Return the dialog this event filter belongs to. | |
Additional Inherited Members | |
![]() | |
YEventFilter (YDialog *dialog=0) | |
Constructor. More... | |
Helper class: Event filter that handles "Help" buttons.
Definition at line 88 of file YDialog.cc.
The heart of the matter: The event filter function.
Derived classes are required to implement this.
This method can inspect the event it receives. Hint: event->widget() is typically the most interesting information.
This method can react on individual events and
If 0 or a new event (another value than 'event') is returned, the old event is deleted. If a value different from 'event' or 0 is returned, that value is assumed to be a pointer to a newly created event. The dialog will assume ownership of that event and delete it when appropriate.
Note: Never delete 'event' in this method! Return 0 or a new event instead; the caller will take care of deleting the old event.
Implements YEventFilter.
Definition at line 97 of file YDialog.cc.