Gravity#

class Gravity#

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

Fields#

class Gravity
CENTER#

The reference point is at the center of the surface.

EAST#

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

NORTH#

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

NORTH_EAST#

The reference point is at the top right corner.

NORTH_WEST#

The reference point is at the top left corner.

SOUTH#

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

SOUTH_EAST#

The reference point is at the lower right corner.

SOUTH_WEST#

The reference point is at the lower left corner.

STATIC#

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

WEST#

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