Package: gdk

GEnum gdk:gravity

Declaration

(gobject:define-genum "GdkGravity" gravity
  (:export t
   :type-initializer "gdk_gravity_get_type")
  (:north-west 1)
  :north
  :north-east
  :west
  :center
  :east
  :south-west
  :south
  :south-east
  :static)  

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 window.
: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.
:south-east
The reference point is at the lower right corner.
:static
The reference point is at the top left corner of the window itself, ignoring window manager decorations.

Details

Defines the reference point of a window and the meaning of coordinates passed to the gtk:window-move function. See the gtk:window-move function and the "implementation notes" section of the Extended Window Manager Hints specification for more details.
 

See also

2023-2-26