Package: gtk

Function gtk-file-chooser-get-filename

Lambda List

gtk-file-chooser-get-filename (chooser)


chooser -- a gtk-file-chooser object

Return Value

The currently selected filename, or nil if no file is selected, or the selected file cannot be represented with a local filename.


Gets the filename for the currently selected file in the file selector. If multiple files are selected, one of the filenames will be returned at random.

If the file chooser is in folder mode, this function returns the selected folder.

Since 2.4

See also