Package: gdk

Enum gdk-gravity

Details

Defines the reference point of a window and the meaning of coordinates passed to the function gtk-window-move. See the function gtk-window-move and the "implementation notes" section of the Extended Window Manager Hints specification for more details.
(define-g-enum "GdkGravity" gdk-gravity
  (:export t
   :type-initializer "gdk_gravity_get_type")
  (:north-west 1)
  :north
  :north-east
  :west
  :center
  :east
  :south-west
  :south
  :south-east
  :static)  
: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.
 

See also

2020-9-6