Alert initiatedDestroy

From TrillWiki

Jump to: navigation, search

Sent when the alert is removed from the screen, however by right clicking or clicking the close button related to the window. It will be followed by an alert_destroy afterwards.

Compatibility: 2.0 and higher

Contents

Syntax

callback(int window_id, char *icontrol, char *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

Alert initiatedDestroy 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.



data
the type of systray alert that was destroyed.
userData
the user data associated with the alert when it was created


Return Value

Must return 0.

Remarks

None.


Personal tools