Gtk.FileChooserButton.new

function new(title:String, action:Gtk.FileChooserAction):Gtk.Widget {
    // Gjs wrapper for gtk_file_chooser_button_new()
}

Creates a new file-selecting button widget.

Since 2.6

title

the title of the browse dialog.

action

the open mode for the widget.

Returns

a new button widget.