Window.setPosition

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.

class Window
void
setPosition

Parameters

position gtk.types.WindowPosition

a position constraint.