Events actionDestroy

From TrillWiki

Jump to: navigation, search

The events_actionDestroy notification is sent when an event is destroyed and when the custom action choice is removed.

Compatibility: 2.0 and higher

Contents

Syntax

callback(int window_id, char *icontrol, "events_actionDestroy", void *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 actionDestroy utilitizes the NONE structure.

There is no structure used for this function or notification. For functions, the parameter passed to plugin_send should be a NULL. For notifications, the 'data' field may still contain a parameter, but it will not be a structure; if so, it will be detailed below.


The data parameter that is passed contains the action data field if this is an event being destroyed. If it is the custom action being removed, this field will be NULL.

Return Value

Must return 0.

Remarks

None.