Package: gtk

Accessor gtk:window-gravity

Lambda List

gtk:window-gravity (object)

Syntax

(gtk:window-gravity object) => gravity
(setf (gtk:window-gravity object) gravity)

Arguments

object -- a gtk:window widget
gravity -- a gdk:gravity value for the window gravity

Details

The accessor for the gravity slot gets or sets the window gravity of the window. Window gravity defines the meaning of coordinates passed to the gtk:window-move function. See the gtk:window-move function and the gdk:gravity enumeration for more details.

The default window gravity is :north-west which will typically do what you mean.
 

See also

2026-06-04