pub fn trigger_press<V: 'static, T: 'static, E: InteractiveElement>(
el: E,
popup: impl Fn(&mut V) -> &mut Popup<T> + Copy + 'static,
cx: &Context<'_, V>,
) -> EExpand description
The press half of menu_trigger on its own, for a trigger whose open is
more than Popup::open — a combobox that clears its query and focuses it, a
gutter handle whose menu belongs to the release of a possible drag. The
click side is then the caller’s, and reads the note with
Popup::take_press_was_open.