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.
Instance Method Summary
-
#center?
Returns
trueif this enum value equalsCenter -
#east?
Returns
trueif this enum value equalsEast -
#north?
Returns
trueif this enum value equalsNorth -
#north_east?
Returns
trueif this enum value equalsNorthEast -
#north_west?
Returns
trueif this enum value equalsNorthWest -
#south?
Returns
trueif this enum value equalsSouth -
#south_east?
Returns
trueif this enum value equalsSouthEast -
#south_west?
Returns
trueif this enum value equalsSouthWest -
#static?
Returns
trueif this enum value equalsStatic -
#west?
Returns
trueif this enum value equalsWest
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.