![]() |
![]() |
![]() |
GtkSourceCompletion 2.0 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#define GSC_TRIGGER_AUTOWORDS_NAME GscTriggerAutowordsPrivate; GscTriggerAutowords; GscTriggerAutowordsClass; GscTriggerAutowords * gsc_trigger_autowords_new (GscCompletion *completion
); void gsc_trigger_autowords_set_delay (GscTriggerAutowords *trigger
,guint delay
);
This object trigger a completion event when the user writes a words with a configured lenght (default 3 characters). You can configure a delay and the completion event will be triggered n millisecons after the user insertion.
GscTriggerAutowords * gsc_trigger_autowords_new (GscCompletion *completion
);
|
The GscCompletion where the triggered will be used |
Returns : |
A new GscTriggerAutowords |
void gsc_trigger_autowords_set_delay (GscTriggerAutowords *trigger
,guint delay
);
The delay time is the time between the last user key pressed and the instant when the trigger call to the completion. If delay is 2000 then the user press a key and 2 seconds later this trigger call to the completion if the user don't press another key.
|
|
|
milliseconds to delay the autocompletion event. |