Completion.start

Starts a new completion with the specified #GtkSourceCompletionContext and a list of potential candidate providers for completion.

It can be convenient for showing a completion on-the-fly, without the need to add or remove providers to the #GtkSourceCompletion.

Another solution is to add providers with gtksource.completion.Completion.addProvider, and implement gtksource.completion_provider.CompletionProvider.match for each provider.

Parameters

providers gtksource.completion_provider.CompletionProvider[]

a list of #GtkSourceCompletionProvider, or null.

context gtksource.completion_context.CompletionContext

The #GtkSourceCompletionContext with which to start the completion.

Return Value

Type: bool

true if it was possible to the show completion window.