Gtk.FileChooser.prototype.select_filename

function select_filename(filename:filename):Boolean {
    // Gjs wrapper for gtk_file_chooser_select_filename()
}

Selects a filename. If the file name isn't in the current folder of chooser, then the current folder of chooser will be changed to the folder containing filename.

Since 2.4

filename

the filename to select

Returns

Not useful. See also: Gtk.set_filename