since: 2.4

Declaration [src]

gtk_file_chooser_get_filenames (
  GtkFileChooser* chooser

Description [src]

Lists all the selected files and subfolders in the current folder of chooser. The returned names are full absolute paths. If files in the current folder cannot be represented as local filenames they will be ignored. (See gtk_file_chooser_get_uris())

Available since: 2.4

Return value

Type: A list of filename

A GSList containing the filenames of all selected files and subfolders in the current folder. Free the returned list with g_slist_free(), and the filenames with g_free().

The caller of the method takes ownership of the data, and is responsible for freeing it.
Each element is a file system path, using the OS encoding.