CompletionContext.setProposalsForProvider
void setProposalsForProvider(gtksource.completion_provider.CompletionProvider provider, gio.list_model.ListModel results = null)This function allows providers to update their results for a context outside of a call to [gtksource.completion_provider.CompletionProvider.populateAsync].
This can be used to immediately return results for a provider while it does additional asynchronous work. Doing so will allow the completions to update while the operation is in progress.
Parameters
provider | an #GtkSourceCompletionProvider |
results | a #GListModel or null |