GTK2.Window set_gravity(int gravity)
Window gravity defines the meaning of coordinates passed to move().
The default window gravity is GDK2.GRAVITY_NORTH_WEST, which will typically "do what you mean."