Edit rightClick
From TrillWiki
The edit_rightClick notification is sent when the user clicks the right mouse button in the edit area.
Compatibility: 2.0 and higher
Contents |
Syntax
callback(int window_id, char *icontrol, "edit_rightClick", edit_event_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 rightClick utilitizes the edit_event_t structure.
struct edit_event_t {
unsigned int struct_size;
int window_id;
int edit_event_id;
char *event;
ttkCallback callback;
void *data;
};
- window_id
- The window id associated with this event.
- edit_event_id
- The edit event id.
- event
- This is NULL for this event.
- data
- A char* representing the text within the edit box at this time.
Return Value
Must return 0.
Remarks
The location of the click is specified with the <click/> tag within the text.
See also: editEventRegister
