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: IdeCompletionContext

The completion context.

The data is owned by the caller of the function.
cancellable

Type: GCancellable

A GCancellable, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
callback

Type: GAsyncReadyCallback

A GAsyncReadyCallback or NULL. Called when the provider has completed loading proposals.

user_data

Type: gpointer

Closure data for callback.

The argument can be NULL.
The data is owned by the caller of the function.