returned file; use [gobject.object.ObjectWrap.unref] to release it.
FileChooser.getFile
gio.file.File getFile()Gets the [gio.file.File] for the currently selected file in the file selector.
If multiple files are selected, one of the files will be returned at random.
If the file chooser is in folder mode, this function returns the selected folder.
Returns
a selected [gio.file.File]. You own the
Deprecated
Use [gtk.file_dialog.FileDialog] instead