select_folder
Description:
Presents a file chooser dialog to the user.
The file chooser dialog will be set up to select a single folder.
If you pass initial_folder
, the file chooser dialog 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.
Parameters:
this |
a file dialog |
parent |
the parent window |
cancellable |
a cancellable to cancel the operation |
callback |
a callback to call when the operation is complete |
user_data |
data to pass to |