enum Gdk::Gravity
Overview
Defines the reference point of a surface and is used in Gdk::PopupLayout
.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/gdk.crEnum Members
-
NorthWest =
1_u32
-
the reference point is at the top left corner.
-
North =
2_u32
-
the reference point is in the middle of the top edge.
-
NorthEast =
3_u32
-
the reference point is at the top right corner.
-
West =
4_u32
-
the reference point is at the middle of the left edge.
-
Center =
5_u32
-
the reference point is at the center of the surface.
-
East =
6_u32
-
the reference point is at the middle of the right edge.
-
SouthWest =
7_u32
-
the reference point is at the lower left corner.
-
South =
8_u32
-
the reference point is at the middle of the lower edge.
-
SouthEast =
9_u32
-
the reference point is at the lower right corner.
-
Static =
10_u32
-
the reference point is at the top left corner of the surface itself, ignoring window manager decorations.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.