A gtk.file_launcher.FileLauncher 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.FileLauncher.launch function. This API follows the GIO async pattern, and the result can be obtained by calling gtk.file_launcher.FileLauncher.launchFinish.
To launch uris that don't represent files, use gtk.uri_launcher.UriLauncher.
A gtk.file_launcher.FileLauncher 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.FileLauncher.launch function. This API follows the GIO async pattern, and the result can be obtained by calling gtk.file_launcher.FileLauncher.launchFinish.
To launch uris that don't represent files, use gtk.uri_launcher.UriLauncher.