Window.setGravity

Window gravity defines the meaning of coordinates passed to Window.move. See Window.move and GdkGravity for more details.

The default window gravity is GDK_GRAVITY_NORTH_WEST which will typically “do what you mean.”

class Window
void
setGravity

Parameters

gravity GdkGravity

window gravity