Package: gtk

GEnum gtk-window-position

Details

Window placement can be influenced using this enumeration. Note that using the :center-always value is almost always a bad idea. It will not necessarily work well with all window managers or on all windowing systems.
(define-g-enum "GtkWindowPosition" gtk-window-position
  (:export t
   :type-initializer "gtk_window_position_get_type")
  (:none 0)
  (:center 1)
  (:mouse 2)
  (:center-always 3)
  (:center-on-parent 4))  
:none
No influence is made on placement.
:center
Windows should be placed in the center of the screen.
:mouse
Windows should be placed at the current mouse position.
:center-always
Keep window centered as it changes size, etc.
:center-on-parent
Center the window on its transient parent. See the gtk-window-transient-for function.
 

See also

2021-9-9