Events actionEditCreate
From TrillWiki
The events_actionEditCreate notification will be sent before the custom action editing window is needed, so that data can be prepared.
Compatibility: 2.0 and higher
Contents |
Syntax
callback(int window_id, char *icontrol, "events_actionEditCreate", event_action_attribute_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
Events actionEditCreate utilitizes the event_action_edit_t structure.
struct event_action_edit_t {
unsigned int struct_size;
char *event;
void *action_data;
int event_id;
};
- event
- The event type.
- action_data
- The data associated with the event.
- event_id
- The event id associated with the event.
Return Value
Must return 0.
Remarks
The events_actionEditDestroy notification will be sent when the editing has stopped.
See also: events_actionEditDestroy
