CompletionProvider.activate

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 gtksource.completion_context.CompletionContext

a #GtkSourceCompletionContext

proposal gtksource.completion_proposal.CompletionProposal

a #GtkSourceCompletionProposal