Edit userIsTyping
From TrillWiki
The edit_userIsTyping notification is sent when a user starts to type a message within the edit box. The notification is only sent once per typing session until either the message is sent or the user types after an edit_userIsNotTyping is sent.
Compatibility: 2.0 and higher
Contents |
Syntax
callback(int window_id, char *icontrol, "edit_userIsTyping", 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 userIsTyping 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
- No text is sent with this message.
Return Value
Must return 0.
Remarks
None.
See also: editEventRegister
