Events actionExecute

From TrillWiki

Jump to: navigation, search

The events_actionExecute notification is sent to a custom event that has been registered with eventsActionRegister and set the custom settings to 1. Other actions use the event type as the event name and the data is the variables.

Compatibility: 2.0 and higher

Contents

Syntax

callback(int window_id, char *icontrol, "events_actionExecute", event_action_execute_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 actionExecute utilitizes the event_action_execute_t structure.

struct event_action_execute_t  {  
 	unsigned int			struct_size; 
 
 	struct event_variables_t	*variables; 
 
 	void				*action_data; 
 };



variables
The variables associated with this event.
action_data
The data associated with this specific event. This data is provided by both the xml and the other calls when the event is executed.


Return Value

Must return 0.

Remarks

None.


See also: eventsActionRegister

Personal tools