Class: Gtk::RecentChooserDialog

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

Instance Method Summary collapse

Instance Method Details

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

Creates a new Gtk::RecentChooserDialog. 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,

  • 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:

#new_for_manager(title, parent, manager, first_button_text, array) ⇒ Gtk::Widget

Creates a new Gtk::RecentChooserDialog with a specified recent manager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a Gtk::RecentManager object.

Parameters:

  • title (String)

    Title of the dialog, or nil

  • parent (Gtk::Window)

    Transient parent of the dialog, or nil,

  • manager (Gtk::RecentManager)

    a Gtk::RecentManager

  • 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: