Top | ![]() |
![]() |
![]() |
![]() |
GtkSourceCompletionWordsGtkSourceCompletionWords — A GtkSourceCompletionProvider for the completion of words |
The GtkSourceCompletionWords is an example of an implementation of the GtkSourceCompletionProvider interface. The proposals are words appearing in the registered GtkTextBuffers.
GtkSourceCompletionWords * gtk_source_completion_words_new (const gchar *name
,GdkPixbuf *icon
);
void gtk_source_completion_words_register (GtkSourceCompletionWords *words
,GtkTextBuffer *buffer
);
Registers buffer
in the words
provider.
void gtk_source_completion_words_unregister (GtkSourceCompletionWords *words
,GtkTextBuffer *buffer
);
Unregisters buffer
from the words
provider.