Skip to main content

LiquidTextMenu

Function LiquidTextMenu 

Source
pub fn LiquidTextMenu(
    __arg0: MenuAnchor,
    __arg1: bool,
    __arg2: Option<Point>,
    __arg3: Vec<TextMenuItem>,
)
Expand description

The liquid-glass text edit menu.

  • anchor — the line it belongs over; the capsule is centred on it, clamped to the screen margin, and sits above it where the window has room and below it where it does not.
  • visible — false while a handle drag is in flight; the menu dissolves and rematerializes per the measured timings (it stays mounted while fading).
  • items — the actions.