@gtkx/react / GtkPopoverMenuBar
Variable: GtkPopoverMenuBar
constGtkPopoverMenuBar: (props) =>ReactNode&object
Defined in: packages/react/src/generated/compounds.ts:2379
Presents a horizontal bar of items that pop up menus when clicked.

The only way to create instances of GtkPopoverMenuBar is from a GMenuModel.
CSS nodes
menubar
├── item[.active]
┊ ╰── popover
╰── item
╰── popoverGtkPopoverMenuBar 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 Gtk.AccessibleRole.menu_bar role, the menu items use the Gtk.AccessibleRole.menu_item role and the menus use the Gtk.AccessibleRole.menu role.
Type Declaration
| Name | Type | Defined in |
|---|---|---|
MenuItem() | (props) => ReactNode | packages/react/src/generated/compounds.ts:2380 |
MenuSection() | (props) => ReactNode | packages/react/src/generated/compounds.ts:2381 |
MenuSubmenu() | (props) => ReactNode | packages/react/src/generated/compounds.ts:2382 |