gtk.uri_launcher
Module for [UriLauncher] class
Types 3
A gtk.uri_launcher.UriLauncher object collects the arguments that are needed to open a uri with an application.
Depending on system configuration, user preferences and available APIs, this may or may not show an app chooser dialog or launch the default application right away.
The operation is started with the gtk.uri_launcher.UriLauncher.launch function. This API follows the GIO async pattern, and the result can be obtained by calling gtk.uri_launcher.UriLauncher.launchFinish.
To launch a file, use gtk.file_launcher.FileLauncher.
Methods
UriLauncherGidBuilder builder() static nothrowGet builder for [gtk.uri_launcher.UriLauncher] Returns: New builder objectvoid launch(gtk.window.Window parent = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null) nothrowLaunch an application to open the uri.bool launchFinish(gio.async_result.AsyncResult result)Finishes the [gtk.uri_launcher.UriLauncher.launch] call and returns the result.Fluent builder implementation template for gtk.uri_launcher.UriLauncher
Methods
T uri(string propval) nothrowSet `uri` property. Params: propval = The uri to launch. Returns: Builder instance for fluent chainingFluent builder for gtk.uri_launcher.UriLauncher
Methods