Class
GtkFileLauncher
since: 4.10
Description [src]
final class Gtk.FileLauncher : GObject.Object
{
/* No available fields */
}
A GtkFileLauncher
object collects the arguments that are needed to open a
file 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_file_launcher_launch()
function.
This API follows the GIO async pattern, and the result can be obtained by
calling gtk_file_launcher_launch_finish()
.
To launch uris that don’t represent files, use GtkUriLauncher
.
Available since: 4.10
Instance methods
gtk_file_launcher_launch_finish
Finishes the gtk_file_launcher_launch()
call and
returns the result.
since: 4.10
gtk_file_launcher_open_containing_folder
Launch a file manager to show the file in its parent directory.
since: 4.10
gtk_file_launcher_open_containing_folder_finish
Finishes the gtk_file_launcher_open_containing_folder()
call and returns the result.
since: 4.10
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.