Virtual Method
IdeCompletionProviderpopulate_async
since: 3.32
Declaration
void
populate_async (
IdeCompletionProvider* self,
IdeCompletionContext* context,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Asynchronously requests the provider populate the contents.
For completion providers that can provide intermediate results immediately,
use ide_completion_context_set_proposals_for_provider() to notify of results
while the async operation is in progress.
Available since: 3.32
Parameters
context-
Type:
IdeCompletionContextThe completion context.
The data is owned by the caller of the function. cancellable-
Type:
GCancellableA
GCancellable, orNULL.The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackorNULL. Called when the provider has completed loading proposals. user_data-
Type:
gpointerClosure data for
callback.The argument can be NULL.The data is owned by the caller of the function.