Window.setPosition

Sets a position constraint for this window. If the old or new constraint is GTK_WIN_POS_CENTER_ALWAYS, this will also cause the window to be repositioned to satisfy the new constraint.

class Window
void
setPosition

Parameters

position GtkWindowPosition

a position constraint.