AppInfoIF.launchDefaultForUriAsync

Async version of g_app_info_launch_default_for_uri().

This version is useful if you are interested in receiving error information in the case where the application is sandboxed and the portal may present an application chooser dialog to the user.

This is also useful if you want to be sure that the D-Bus–activated applications are really started before termination and if you are interested in receiving error information from their activation.

interface AppInfoIF
static
void
launchDefaultForUriAsync

Parameters

uri string

the uri to show

context AppLaunchContext

an optional #GAppLaunchContext

cancellable Cancellable

a #GCancellable

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when the request is done

userData void*

data to pass to @callback

Meta

Since

2.50