Method
GioLoadableIconload_async
Declaration
void
g_loadable_icon_load_async (
GLoadableIcon* icon,
int size,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Loads an icon asynchronously. To finish this function, see g_loadable_icon_load_finish(). For the synchronous, blocking version of this function, see g_loadable_icon_load().
This method completes asynchronously. Use g_loadable_icon_load_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
size-
Type:
intAn integer.
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.