A gtk.uri_launcher.UriLauncher 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 gtk.uri_launcher.UriLauncher.launch function. This API follows the GIO async pattern, and the result can be obtained by calling gtk.uri_launcher.UriLauncher.launchFinish.
To launch a file, use gtk.file_launcher.FileLauncher.
A gtk.uri_launcher.UriLauncher 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 gtk.uri_launcher.UriLauncher.launch function. This API follows the GIO async pattern, and the result can be obtained by calling gtk.uri_launcher.UriLauncher.launchFinish.
To launch a file, use gtk.file_launcher.FileLauncher.