Egui::MenuItemPart
Inherits Egui::StyledPart < Egui::Widget < Reference < Object
The StyledPart stand-ins behind menu rows (see widgets/styled_part.cr): menu sites paint in place, so the part carries the inspector meta AND the style keys the row reads. Two classes in the sheet:
menu.item — a dropdown/popup row: background (hover highlight), text_color, font_size, padding (box) menu.button — a menu-BAR root entry: the same keys, its background has :hover AND :active (menu open)