![]() |
![]() |
![]() |
GtkSourceCompletion Reference Manual | ![]() |
---|---|---|---|---|
GscTriggerCustomkeyPrivate; GscTriggerCustomkey; GscTriggerCustomkey* gsc_trigger_customkey_new (GscManager *completion, const gchar *trigger_name, const gchar *keys); void gsc_trigger_customkey_set_keys (GscTriggerCustomkey *self, const gchar *keys); void gsc_trigger_customkey_set_opts (GscTriggerCustomkey *self, GscManagerEventOptions *options);
GscTriggerCustomkey* gsc_trigger_customkey_new (GscManager *completion, const gchar *trigger_name, const gchar *keys);
This is a generic trigger. You tell the name and the key and the trigger will be triggered when the user press this key (or keys)
|
The GscManager |
|
The trigger name wich will be user the we trigger the event. |
|
The string representation of the keys that we will use to activate the event. You can get this string with gtk_accelerator_name |
Returns : |
The new GscTriggerCustomkey |
void gsc_trigger_customkey_set_keys (GscTriggerCustomkey *self, const gchar *keys);
Assign the keys that we will use to activate the user request event
|
The GscTriggerCustomkey |
|
The string representation of the keys that we will use to activate the user request event. You can get this string with gtk_accelerator_name |
void gsc_trigger_customkey_set_opts (GscTriggerCustomkey *self, GscManagerEventOptions *options);
Use this function if you want to tell the completion how must show the popup (position, filter, etc.) then this trigger occurs
|
The GscTriggerCustomkey |
|
The trigger options |