CompletionProvider.activate
void activate(gtksource.completion_context.CompletionContext context, gtksource.completion_proposal.CompletionProposal proposal)This function requests proposal to be activated by the #GtkSourceCompletionProvider.
What the provider does to activate the proposal is specific to that provider. Many providers may choose to insert a #GtkSourceSnippet with edit points the user may cycle through.
See also: classSnippet, classSnippetChunk, [gtksource.view.View.pushSnippet]
Parameters
context | a #GtkSourceCompletionContext |
proposal | a #GtkSourceCompletionProposal |