set_proposals_for_provider


Description:

public void set_proposals_for_provider (CompletionProvider provider, ListModel? results)

This function allows providers to update their results for a context outside of a call to [method@CompletionProvider.

populate_async].

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:

this

an CompletionContext

provider

an CompletionProvider

results

a ListModel or null




2022 vala-language.org