Method
GtkIconInfoload_symbolic_async
since: 3.8
Declaration [src]
void
gtk_icon_info_load_symbolic_async (
GtkIconInfo* icon_info,
const GdkRGBA* fg,
const GdkRGBA* success_color,
const GdkRGBA* warning_color,
const GdkRGBA* error_color,
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() which is the synchronous
version of this call.
Available since: 3.8
This method completes asynchronously. Use gtk_icon_info_load_symbolic_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
fg-
Type:
GdkRGBAA
GdkRGBArepresenting the foreground color of the icon.The data is owned by the caller of the method. success_color-
Type:
GdkRGBAA
GdkRGBArepresenting the warning color of the icon orNULLto use the default color.The argument can be NULL.The data is owned by the caller of the method. warning_color-
Type:
GdkRGBAA
GdkRGBArepresenting the warning color of the icon orNULLto use the default color.The argument can be NULL.The data is owned by the caller of the method. error_color-
Type:
GdkRGBAA
GdkRGBArepresenting the error color of the icon orNULLto use the default color (allow-none).The argument can be NULL.The data is owned by the caller of the method. cancellable-
Type:
GCancellableOptional
GCancellableobject,NULLto ignore.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is satisfied.The argument can be NULL. user_data-
Type:
gpointerThe data to pass to callback function.
The argument can be NULL.The data is owned by the caller of the method.