Class: Gtk::FileChooserDialog

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#new(title, parent, action, first_button_text, array) ⇒ Gtk::Widget

Creates a new Gtk::FileChooserDialog. This function is analogous to gtk_dialog_new_with_buttons().

Parameters:

  • title (String)

    Title of the dialog, or nil

  • parent (Gtk::Window)

    Transient parent of the dialog, or nil

  • action (Gtk::FileChooserAction)

    Open or save mode for the dialog

  • first_button_text (String)

    stock ID or text to go in the first button, or nil

  • array (Array)

    response ID for the first button, then additional (button, id) pairs, ending with nil

Returns: