GtkPopoverMenuBar

gtk.popover_menu_bar.PopoverMenuBar presents a horizontal bar of items that pop up popover menus when clicked.

An example GtkPopoverMenuBar

The only way to create instances of gtk.popover_menu_bar.PopoverMenuBar is from a gio.menu_model.MenuModel.

CSS nodes

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

gtk.popover_menu_bar.PopoverMenuBar 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

gtk.popover_menu_bar.PopoverMenuBar uses the gtk.types.AccessibleRole.MenuBar role, the menu items use the gtk.types.AccessibleRole.MenuItem role and the menus use the gtk.types.AccessibleRole.Menu role.

struct GtkPopoverMenuBar