Open a file chooser with GtkFileChooserDialog

5f0b4870257f38d4a3e60e8afb9d9f82.jpeg
1. create the
GtkFileChooserDialog($title, $parentWindow, $GtkFileChooserAction, [$buttonTitle, $GtkResponseType, ...])
;
2. set or not the default path with
GtkFileChooserDialog::set_current_folder($path)
;
3. run the dialog
$return = GtkFileChooserDialog::run()
;
4. parse the return to see if file are selected with buttons added to the dialog;
5. get selected files with
GtkFileChooserDialog::get_filenames()
;
6. close dialog
GtkFileChooserDialog::destroy()
;