UriLauncher
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_uri_launcher_get_type ()" ) ]
[ Version ( since = "4.10" ) ]
public sealed class UriLauncher : Object
[ Version ( since = "4.10" ) ]
public sealed class UriLauncher : Object
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 [method@Gtk.UriLauncher.launch] function. This API follows the GIO async pattern, and the result can be obtained by calling [method@Gtk.UriLauncher.launch_finish].
To launch a file, use [class@Gtk.FileLauncher].
Namespace: Gtk
Package: gtk4
Content:
Properties:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object