Edit eventDestroy
From TrillWiki
The edit_eventDestroy notification is sent when an edit event is no longer registered.
Compatibility: 2.0 and higher
Contents |
Syntax
callback(int window_id, char *icontrol, "edit_eventDestroy", edit_event_t *data, void *userData);
Note that all Trillian functions and notifications begin with a lower-case letter, despite the Wiki requirement that all pages start with a capital letter.
Parameters
Edit eventDestroy utilitizes the edit_event_t structure.
struct edit_event_t {
unsigned int struct_size;
int window_id;
int edit_event_id;
char *event;
ttkCallback callback;
void *data;
};
- window_id
- The window id associated with this event.
- edit_event_id
- The edit event id.
- event
- The event registered for.
Return Value
The return value from this notification doesn't matter.
Remarks
This will only be sent when the event is properly unregistered with editEventUnregister.
See also: editEventRegister
