Virtual Method
GtkSourceCompletionProviderpopulate_async
Declaration [src]
void
populate_async (
GtkSourceCompletionProvider* self,
GtkSourceCompletionContext* context,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously requests that the provider populates the completion
results for context
.
For providers that would like to populate a GListModel
while those
results are displayed to the user,
gtk_source_completion_context_set_proposals_for_provider()
may be used
to reduce latency until the user sees results.
Parameters
context |
GtkSourceCompletionContext |
A |
|
The data is owned by the caller of the function. | |
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A callback to execute upon completion. |
|
user_data |
gpointer |
Closure data for |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |