tcl.lang
Interface EventDeleter
- All Known Implementing Classes:
- Notifier
public interface EventDeleter
This is the interface for deleting events in the notifier's event
queue. It's used together with the Notifier.deleteEvents() method.
Method Summary |
int |
deleteEvent(TclEvent evt)
This method is called once for each event in the event queue. |
deleteEvent
int deleteEvent(TclEvent evt)
- This method is called once for each event in the event queue. It returns
1 for all events that should be deleted and 0 for events that should
remain in the queue.
If this method determines that an event should be removed, it should
perform appropriate clean up on the event object.
- Parameters:
evt
- Event to test whether it should be removed
- Returns:
- 1 means evt should be removed from the event queue. 0 otherwise.
Copyright © 2015. All rights reserved.