Expand description
Item — a row in a dropped menu — and card, the panel that paints a
list of them.
Every menu in the system is those two over the caller’s own open state: the
bar’s dropped panel (crate::menubar), the ··· on a row, the picker
under a chip. The state stays with the caller because only it knows what
opening means — a crate::popover::Popup for one, a field for another.
Enums§
- Item
- A row in a menu.
Functions§
- card
- The panel a menu drops: every
Itemas a row, in apopover::popover_card.idprefixes the rows’ element ids, so two menus open at once keep their hover state apart. - next_
selectable - The next row the keyboard can land on,
deltadeciding the direction: separators and disabled rows are stepped straight over, and both ends wrap.fromofNoneenters the menu at the edge the direction comes from.