open

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

This function initiates a file selection operation by presenting a file chooser dialog to the user.

The @callback will be called when the dialog is dismissed. It should call method@Gtk.FileDialog.open_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