Completion.start
bool start(gtksource.completion_provider.CompletionProvider[] providers, gtksource.completion_context.CompletionContext context)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 | a list of #GtkSourceCompletionProvider, or null. |
context | The #GtkSourceCompletionContext with which to start the completion. |
Returns
true if it was possible to the show completion window.