Class: Gtk::RecentChooserMenu
- Inherits:
-
Object
- Object
- Gtk::RecentChooserMenu
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#new ⇒ Gtk::Widget
Creates a new Gtk::RecentChooserMenu widget.
-
#new_for_manager(manager) ⇒ Gtk::Widget
Creates a new Gtk::RecentChooserMenu widget using manager as the underlying recently used resources manager.
-
#show_numbers ⇒ TrueClass
Returns the value set by gtk_recent_chooser_menu_set_show_numbers().
-
#show_numbers=(show_numbers) ⇒ TrueClass
Whether the first ten items in the menu should be prepended by a number acting as a unique mnemonic.
-
#show_numbers? ⇒ TrueClass
Whether the first ten items in the menu should be prepended by a number acting as a unique mnemonic.
Instance Method Details
#new ⇒ Gtk::Widget
Creates a new Gtk::RecentChooserMenu widget.
This kind of widget shows the list of recently used resources as a menu, each item as a menu item. Each item inside the menu might have an icon, representing its MIME type, and a number, for mnemonic access.
This widget implements the Gtk::RecentChooser interface.
This widget creates its own Gtk::RecentManager object. See the gtk_recent_chooser_menu_new_for_manager() function to know how to create a Gtk::RecentChooserMenu widget bound to another #GtkRecentManager object.
#new_for_manager(manager) ⇒ Gtk::Widget
Creates a new Gtk::RecentChooserMenu widget using manager as the underlying recently used resources manager.
This is useful if you have implemented your own recent manager, or if you have a customized instance of a Gtk::RecentManager object or if you wish to share a common Gtk::RecentManager object among multiple Gtk::RecentChooser widgets.
#show_numbers ⇒ TrueClass
Returns the value set by gtk_recent_chooser_menu_set_show_numbers().
#show_numbers=(show_numbers) ⇒ TrueClass
Whether the first ten items in the menu should be prepended by a number acting as a unique mnemonic.
#show_numbers? ⇒ TrueClass
Whether the first ten items in the menu should be prepended by a number acting as a unique mnemonic.