Gtk.FileChooser.prototype.get_filenames

function get_filenames():[filename] {
    // Gjs wrapper for gtk_file_chooser_get_filenames()
}

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.get_uris)

Since 2.4

Returns

a GLib.SList containing the filenames of all selected files and subfolders in the current folder. Free the returned list with GLib.free, and the filenames with GLib.free.