Package org.gnome.gtk

Class PopoverMenuBar

java.lang.Object
All Implemented Interfaces:
Proxy, Accessible, Buildable, ConstraintTarget

@Generated("io.github.jwharm.JavaGI") public class PopoverMenuBar extends Widget implements Accessible, Buildable, ConstraintTarget
GtkPopoverMenuBar presents a horizontal bar of items that pop up popover menus when clicked.

An example GtkPopoverMenuBar

The only way to create instances of GtkPopoverMenuBar is from a GMenuModel.

CSS nodes


 menubar
 ├── item[.active]
 ┊   ╰── popover
 ╰── item
     ╰── popover
 

GtkPopoverMenuBar has a single CSS node with name menubar, below which each item has its CSS node, and below that the corresponding popover.

The item whose popover is currently open gets the .active style class.

Accessibility
GtkPopoverMenuBar uses the AccessibleRole.MENU_BAR role, the menu items use the AccessibleRole.MENU_ITEM role and the menus use the AccessibleRole.MENU role.