UriLauncher


Object Hierarchy:

Gtk.UriLauncher Gtk.UriLauncher Gtk.UriLauncher GLib.Object GLib.Object GLib.Object->Gtk.UriLauncher

Description:

[ CCode ( type_id = "gtk_uri_launcher_get_type ()" ) ]
[ Version ( since = "4.10" ) ]
public sealed class UriLauncher : Object

Asynchronous API to open a uri with an application.

`GtkUriLauncher` collects the arguments that are needed to open the uri.

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.

To launch a file, use [class@Gtk.FileLauncher].


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members: