The
gtk:popover-menu-bar widget presents a horizontal bar of items
that pop up popover menus when clicked. The only way to create instances of the
gtk:popover-menu-bar widget is from a
g:menu-model object.
Figure: GtkPopoverMenuBar
CSS nodes
menubar
├── item[.active]
┊ ╰── popover
╰── item
╰── popover
The
gtk:popover-menu-bar implementation 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
The
gtk:popover-menu-bar implementation uses the
:menu-bar role of the
gtk:accessible-role enumeration. The menu items use the
:menu-item role and the menus use the
:menu role.