Top | ![]() |
![]() |
![]() |
![]() |
GtkSourceCompletionActivation | activation | Read / Write |
GtkSourceCompletion * | completion | Read / Write / Construct Only |
GtkTextIter * | iter | Read / Write |
void gtk_source_completion_context_add_proposals (GtkSourceCompletionContext *context
,struct _GtkSourceCompletionProvider *provider
,GList *proposals
,gboolean finished
);
Providers can use this function to add proposals to the completion. They
can do so asynchronously by means of the finished
argument. Providers must
ensure that they always call this function with finished
set to TRUE
once each population (even if no proposals need to be added).
void gtk_source_completion_context_get_iter (GtkSourceCompletionContext *context
,GtkTextIter *iter
);
Get the iter at which the completion was invoked. Providers can use this to determine how and if to match proposals.
GtkSourceCompletionActivation
gtk_source_completion_context_get_activation
(GtkSourceCompletionContext *context
);
Get the context activation
“activation”
property“activation” GtkSourceCompletionActivation
The completion activation
Flags: Read / Write
“completion”
property“completion” GtkSourceCompletion *
The GtkSourceCompletion associated with the context.
Flags: Read / Write / Construct Only
“cancelled”
signalvoid user_function (GtkSourceCompletionContext *arg0, gpointer user_data)
Emitted when the current population of proposals has been cancelled. Providers adding proposals asynchronously should connect to this signal to know when to cancel running proposal queries.
Flags: Action