FileChooserT.getFile

Gets the #GFile 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.

template FileChooserT()
override
getFile
()

Return Value

Type: gio.file.File

a selected #GFile. You own the returned file; use gobject.object.ObjectWrap.unref to release it.