Class: Gtk::PopoverMenu
- Inherits:
-
Object
- Object
- Gtk::PopoverMenu
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#new ⇒ Gtk::Widget
Creates a new popover menu.
-
#open_submenu(name) ⇒ nil
Opens a submenu of the popover.
-
#visible_submenu ⇒ String
Visible-submenu.
- #visible_submenu=(visible_submenu) ⇒ String
Instance Method Details
#new ⇒ Gtk::Widget
Creates a new popover menu.
#open_submenu(name) ⇒ nil
Opens a submenu of the popover. The name must be one of the names given to the submenus of popover with Gtk::PopoverMenu:submenu, or “main” to switch back to the main menu.
Gtk::ModelButton will open submenus automatically when the Gtk::ModelButton:menu-name property is set, so this function is only needed when you are using other kinds of widgets to initiate menu changes.
#visible_submenu ⇒ String
Returns visible-submenu.