Edit userIsNotTyping

From TrillWiki

Jump to: navigation, search

The edit_userIsNotTyping notification is sent when the user stops typing within the edit box. This occurs currently only when all the text is removed from the edit area and not when there is a long pause.

Compatibility: 2.0 and higher

Contents

Syntax

callback(int window_id, char *icontrol, "edit_userIsNotTyping", 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 userIsNotTyping 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 notification.


Return Value

Must return 0.

Remarks

None.


See also: editEventRegister