pub fn LiquidMenu(
__arg0: bool,
__arg1: Rect,
__arg2: LiquidMenuSpec,
__arg3: Vec<LiquidMenuAbsorbedSource>,
__arg4: Vec<LiquidMenuItem>,
__arg5: LiquidMenuGesture,
on_item: impl Fn(usize) + 'static,
on_dismiss: impl Fn() + 'static,
)Expand description
A glass popup menu anchored to anchor (window coordinates of the button
that opened it). absorbed contains adjacent glass controls whose combined
source volume and foreground feed the opening droplet. While expanded,
taps outside dismiss via on_dismiss; item taps call on_item with the
index then dismiss.
Layout follows the iOS menu: an optional leading checkmark column (present on every row once any item is checkable, so labels align), then the icon column, then the label. Sections split with full-width hairlines; headers are gray non-interactive rows.