launch

open fun launch(parent: Window? = null, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)(source)

Launch an application to open the file.

This may present an app chooser dialog to the user.

The @callback will be called when the operation is completed. It should call method@Gtk.FileLauncher.launch_finish to obtain the result.

Since

4.10

Parameters

parent

the parent GtkWindow

cancellable

a GCancellable to cancel the operation

callback

a callback to call when the operation is complete