UriLauncher.launch

void launch(gtk.window.Window parent = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Launch an application to open the uri.

This may present an app chooser dialog to the user.

The callback will be called when the operation is completed. It should call [gtk.uri_launcher.UriLauncher.launchFinish] to obtain the result.

Parameters

parentthe parent [gtk.window.Window]
cancellablea [gio.cancellable.Cancellable] to cancel the operation
callbacka callback to call when the operation is complete