FileLauncher


Object Hierarchy:

Gtk.FileLauncher Gtk.FileLauncher Gtk.FileLauncher GLib.Object GLib.Object GLib.Object->Gtk.FileLauncher

Description:

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

Asynchronous API to open a file with an application.

`GtkFileLauncher` collects the arguments that are needed to open the file.

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.FileLauncher.launch] function.

To launch uris that don't represent files, use [class@Gtk.UriLauncher].


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members: