CompletionProvider.populateAsync
void populateAsync(gtksource.completion_context.CompletionContext context, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously requests that the provider populates the completion results for context.
For providers that would like to populate a [gio.list_model.ListModel] while those results are displayed to the user, [gtksource.completion_context.CompletionContext.setProposalsForProvider] may be used to reduce latency until the user sees results.
Parameters
context | a #GtkSourceCompletionContext |
cancellable | a #GCancellable or null |
callback | a callback to execute upon completion |