pub fn TextSelectionMenu(
__arg0: Point,
__arg1: bool,
on_copy: impl Fn() + 'static,
on_cut: impl Fn() + 'static,
on_paste: impl Fn() + 'static,
on_select_all: impl Fn() + 'static,
)Expand description
A floating Copy / Cut / Paste / Select-all menu shown just above the text
selection at anchor (window coordinates of the selection’s top-center).
can_paste hides the Paste item when the clipboard is empty. Each action
runs against the focused field; the caller is expected to dismiss the menu.