Enum gdk::GrabStatus [−][src]
#[non_exhaustive] pub enum GrabStatus { Success, AlreadyGrabbed, InvalidTime, NotViewable, Frozen, Failed, // some variants omitted }
Expand description
Returned by Device::grab()
, gdk_pointer_grab()
and gdk_keyboard_grab()
to
indicate success or the reason for the failure of the grab attempt.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
the resource was successfully grabbed.
the resource is actively grabbed by another client.
the resource was grabbed more recently than the specified time.
the grab window or the confine_to
window are not
viewable.
the resource is frozen by an active grab of another client.
the grab failed for some other reason. Since 3.16
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 GrabStatus
impl Send for GrabStatus
impl Sync for GrabStatus
impl Unpin for GrabStatus
impl UnwindSafe for GrabStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.