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:
GdkRGBA
A
GdkRGBA
representing the foreground color of the icon.The data is owned by the caller of the method. success_color
-
Type:
GdkRGBA
A
GdkRGBA
representing the warning color of the icon orNULL
to use the default color.The argument can be NULL
.The data is owned by the caller of the method. warning_color
-
Type:
GdkRGBA
A
GdkRGBA
representing the warning color of the icon orNULL
to use the default color.The argument can be NULL
.The data is owned by the caller of the method. error_color
-
Type:
GdkRGBA
A
GdkRGBA
representing the error color of the icon orNULL
to use the default color (allow-none).The argument can be NULL
.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.