Method

GtkIconInfoload_symbolic_for_context_async

since: 3.8

Declaration [src]

void
gtk_icon_info_load_symbolic_for_context_async (
  GtkIconInfo* icon_info,
  GtkStyleContext* context,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Asynchronously load, render and scale a symbolic icon previously looked up from the icon theme using gtk_icon_theme_lookup_icon().

For more details, see gtk_icon_info_load_symbolic_for_context() which is the synchronous version of this call.

Available since: 3.8

This method completes asynchronously. Use gtk_icon_info_load_symbolic_for_context_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

context

Type: GtkStyleContext

A GtkStyleContext.

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

Type: GCancellable

Optional GCancellable object, NULL to ignore.

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

Type: GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

The argument can be NULL.
user_data

Type: gpointer

The data to pass to callback function.

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