Edit aliasDestroy
From TrillWiki
This notification is generated when an alias is no longer going to be used. This occurs either when the alias is removed or when Trillian is shutting down. You can remove your user data you provided with the alias safely in this message.
Compatibility: 1.0 and higher
Contents |
Syntax
callback(int window_id, char *icontrol, alias_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 aliasDestroy utilitizes the alias_t structure.
struct alias_t {
unsigned int struct_size;
int alias_id;
char *text;
ttkCallback callback;
void *data;
};
- alias_id
- The alias ID returned when the alias was registered.
Return Value
Must return 0.
Remarks
None.
