Enum gdk::Gravity [−][src]
#[non_exhaustive] pub enum Gravity { NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast, Static, // some variants omitted }
Expand description
Defines the reference point of a window and the meaning of coordinates
passed to gtk_window_move()
. See gtk_window_move()
and the “implementation
notes” section of the
Extended Window Manager Hints
specification for more details.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
the reference point is at the top left corner.
the reference point is in the middle of the top edge.
the reference point is at the top right corner.
the reference point is at the middle of the left edge.
the reference point is at the center of the window.
the reference point is at the middle of the right edge.
the reference point is at the lower left corner.
the reference point is at the middle of the lower edge.
the reference point is at the lower right corner.
the reference point is at the top left corner of the window itself, ignoring window manager decorations.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
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 Gravity
impl UnwindSafe for Gravity
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.