Gtk.FileChooser.prototype.get_use_preview_label

function get_use_preview_label():Boolean {
    // Gjs wrapper for gtk_file_chooser_get_use_preview_label()
}

Gets whether a stock label should be drawn with the name of the previewed file. See Gtk.set_use_preview_label.

Returns

true if the file chooser is set to display a label with the name of the previewed file, false otherwise.