IconInfo.loadSymbolicForContextAsync

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.

class IconInfo
void
loadSymbolicForContextAsync

Parameters

context StyleContext

a GtkStyleContext

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback to call when the request is satisfied. [scope async]

userData void*

the data to pass to callback function. closure Since 3.8

Meta