Package: gdk

GEnum gdk:gravity

Declaration

(gobject:define-genum "GdkGravity" gravity
  (:export t
   :type-initializer "gdk_gravity_get_type")
  (:north-west 1)
  (:north 1)
  (:north-east 3)
  (:west 4)
  (:center 5)
  (:east 6)
  (:south-west 7)
  (:south 8)
  (:south-east 9)
  (:static 10))  

Values

:north-west
The reference point is at the top left corner.
:north
The reference point is in the middle of the top edge.
:north-east
The reference point is at the top right corner.
:west
The reference point is at the middle of the left edge.
:center
The reference point is at the center of the surface.
:east
The reference point is at the middle of the right edge.
:south-west
The reference point is at the lower left corner.
:south
The reference point is at the middle of the lower edge.
:sout-east
The reference point is at the lower right corner.
:static
The reference point is at the top left corner of the surface itself, ignoring window manager decorations.

Details

Defines the reference point of a surface and is used in the gdk:popup-layout implementation.
 

See also

2024-5-26