Class
GtkUriLauncher
Description [src]
final class Gtk.UriLauncher : GObject.Object {
/* No available fields */
}
A GtkUriLauncher
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_launch()
function.
This API follows the GIO async pattern, and the result can be obtained by
calling gtk_uri_launcher_launch_finish()
.
To launch a file, use GtkFileLauncher
.
Available since: | 4.10 |
Instance methods
gtk_uri_launcher_launch_finish
Finishes the gtk_uri_launcher_launch()
call and
returns the result.
Available since: 4.10