Window.setPosition

void setPosition(gtk.types.WindowPosition position)

Sets a position constraint for this window. If the old or new constraint is [gtk.types.WindowPosition.CenterAlways], this will also cause the window to be repositioned to satisfy the new constraint.

Parameters

positiona position constraint.