GdkGravity

Defines the reference point of a surface and is used in #GdkPopupLayout.

Values

ValueMeaning
NORTH_WEST1

the reference point is at the top left corner.

NORTH2

the reference point is in the middle of the top edge.

NORTH_EAST3

the reference point is at the top right corner.

WEST4

the reference point is at the middle of the left edge.

CENTER5

the reference point is at the center of the surface.

EAST6

the reference point is at the middle of the right edge.

SOUTH_WEST7

the reference point is at the lower left corner.

SOUTH8

the reference point is at the middle of the lower edge.

SOUTH_EAST9

the reference point is at the lower right corner.

STATIC10

the reference point is at the top left corner of the surface itself, ignoring window manager decorations.

Meta