Enum gdk4::CrossingMode [−][src]
#[non_exhaustive]
pub enum CrossingMode {
Normal,
Grab,
Ungrab,
GtkGrab,
GtkUngrab,
StateChanged,
TouchBegin,
TouchEnd,
DeviceSwitch,
// some variants omitted
}
Expand description
Specifies the crossing mode for enter and leave events.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
crossing because of pointer motion.
crossing because a grab is activated.
crossing because a grab is deactivated.
crossing because a GTK grab is activated.
crossing because a GTK grab is deactivated.
crossing because a GTK widget changed state (e.g. sensitivity).
crossing because a touch sequence has begun, this event is synthetic as the pointer might have not left the surface.
crossing because a touch sequence has ended, this event is synthetic as the pointer might have not left the surface.
crossing because of a device switch (i.e. a mouse taking control of the pointer after a touch device), this event is synthetic as the pointer didn’t leave the surface.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for CrossingMode
impl Send for CrossingMode
impl Sync for CrossingMode
impl Unpin for CrossingMode
impl UnwindSafe for CrossingMode
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.