GtkWindowPosition

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.

Values

ValueMeaning
NONE0

No influence is made on placement.

CENTER1

Windows should be placed in the center of the screen.

MOUSE2

Windows should be placed at the current mouse position.

CENTER_ALWAYS3

Keep window centered as it changes size, etc.

CENTER_ON_PARENT4

Center the window on its transient parent (see gtk_window_set_transient_for()).

Meta