GscTriggerAutowords

GscTriggerAutowords

Synopsis

#define             GSC_TRIGGER_AUTOWORDS_NAME
                    GscTriggerAutowordsPrivate;
                    GscTriggerAutowords;
GscTriggerAutowords* gsc_trigger_autowords_new          (GscManager *completion);
void                gsc_trigger_autowords_set_delay     (GscTriggerAutowords *trigger,
                                                         guint delay);

Object Hierarchy

  GObject
   +----GscTriggerAutowords

Implemented Interfaces

GscTriggerAutowords implements GscTrigger.

Description

Details

GSC_TRIGGER_AUTOWORDS_NAME

#define GSC_TRIGGER_AUTOWORDS_NAME "GscTriggerAutowords"


GscTriggerAutowordsPrivate

typedef struct _GscTriggerAutowordsPrivate GscTriggerAutowordsPrivate;


GscTriggerAutowords

typedef struct _GscTriggerAutowords GscTriggerAutowords;


gsc_trigger_autowords_new ()

GscTriggerAutowords* gsc_trigger_autowords_new          (GscManager *completion);

completion :

The GscManager where the triggered will be used Returns The new GscTriggerAutowords

Returns :


gsc_trigger_autowords_set_delay ()

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.

trigger :

The GscTriggerAutowords

delay :

milliseconds to delay the autocompletion event.