selectFolder
open fun selectFolder(parent: Window? = null, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>)
This function initiates a directory selection operation by presenting a file chooser dialog to the user.
If you pass @initial_folder, the file chooser will initially be opened in the parent directory of that folder, otherwise, it will be in the directory property@Gtk.FileDialog:initial-folder.
The @callback will be called when the dialog is dismissed.
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