pub enum PopupInput {
Passthrough,
Pointer,
Grab,
}Expand description
What input a popup takes.
Variants§
Passthrough
None at all: the pointer passes through it to whatever is beneath, and it never activates. A tooltip is this, so hovering stays on the bar that showed it.
Pointer
The pointer over it, as any window has; never the keyboard, and a click elsewhere leaves it open.
Grab
The pointer and the keyboard while it is open. A click outside it or
Escape dismisses it, which arrives as a
CloseRequested for it. A menu or
a calendar is this.
Trait Implementations§
Source§impl Clone for PopupInput
impl Clone for PopupInput
impl Copy for PopupInput
Source§impl Debug for PopupInput
impl Debug for PopupInput
Source§impl Default for PopupInput
impl Default for PopupInput
impl Eq for PopupInput
Source§impl Hash for PopupInput
impl Hash for PopupInput
Source§impl PartialEq for PopupInput
impl PartialEq for PopupInput
impl StructuralPartialEq for PopupInput
Auto Trait Implementations§
impl Freeze for PopupInput
impl RefUnwindSafe for PopupInput
impl Send for PopupInput
impl Sync for PopupInput
impl Unpin for PopupInput
impl UnsafeUnpin for PopupInput
impl UnwindSafe for PopupInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more