IconInfo.loadSymbolicAsync

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() which is the synchronous version of this call.

Parameters

fg RGBA

a GdkRGBA representing the foreground color of the icon

successColor RGBA

a GdkRGBA representing the warning color of the icon or NULL to use the default color. [allow-none]

warningColor RGBA

a GdkRGBA representing the warning color of the icon or NULL to use the default color. [allow-none]

errorColor RGBA

a GdkRGBA representing the error color of the icon or NULL to use the default color (allow-none). [allow-none]

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