Method
GioAppInfolaunch_uris_async
since: 2.60
Declaration
void
g_app_info_launch_uris_async (
GAppInfo* appinfo,
GList* uris,
GAppLaunchContext* context,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Async version of g_app_info_launch_uris().
The callback is invoked immediately after the application launch, but it
waits for activation in case of D-Bus–activated applications and also provides
extended error information for sandboxed applications, see notes for g_app_info_launch_default_for_uri_async().
Available since: 2.60
Parameters
uris-
Type: A list of
utf8A
GListcontaining URIs to launch.The argument can be NULL.The data is owned by the caller of the method. Each element is a NUL terminated UTF-8 string. context-
Type:
GAppLaunchContextA
GAppLaunchContextorNULL.The argument can be NULL.The data is owned by the caller of the method. cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is done.The argument can be NULL. user_data-
Type:
gpointerData to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.