Gtk.WindowPosition

Window placement can be influenced using this enumeration. Note that using #GTK_WIN_POS_CENTER_ALWAYS is almost always a bad idea. It won't necessarily work well with all window managers or on all windowing systems.

WindowPosition.NONE

No influence is made on placement.

WindowPosition.CENTER

Windows should be placed in the center of the screen.

WindowPosition.MOUSE

Windows should be placed at the current mouse position.

WindowPosition.CENTER_ALWAYS

Keep window centered as it changes size, etc.

WindowPosition.CENTER_ON_PARENT

Center the window on its transient parent (see Gtk.Window.prototype.set_transient_for).