Gtk.FileChooserWidget.new

function new(action:Gtk.FileChooserAction):Gtk.Widget {
    // Gjs wrapper for gtk_file_chooser_widget_new()
}

Creates a new Gtk.FileChooserWidget. This is a file chooser widget that can be embedded in custom windows, and it is the same widget that is used by Gtk.FileChooserDialog.

Since 2.4

action

Open or save mode for the widget

Returns

a new Gtk.FileChooserWidget