GdkWindowHints

Used to indicate which fields of a GdkGeometry struct should be paid attention to. Also, the presence/absence of GDK_HINT_POS, GDK_HINT_USER_POS, and GDK_HINT_USER_SIZE is significant, though they don't directly refer to GdkGeometry fields. GDK_HINT_USER_POS will be set automatically by GtkWindow if you call gtk_window_move(). GDK_HINT_USER_POS and GDK_HINT_USER_SIZE should be set if the user specified a size/position using a --geometry command-line argument; gtk_window_parse_geometry() automatically sets these flags. GDK_HINT_POS indicates that the program has positioned the window GDK_HINT_MIN_SIZE min size fields are set GDK_HINT_MAX_SIZE max size fields are set GDK_HINT_BASE_SIZE base size fields are set GDK_HINT_ASPECT aspect ratio fields are set GDK_HINT_RESIZE_INC resize increment fields are set GDK_HINT_WIN_GRAVITY window gravity field is set GDK_HINT_USER_POS indicates that the window's position was explicitly set by the user GDK_HINT_USER_SIZE indicates that the window's size was explicitly set by the user

Values

ValueMeaning
HINT_POS1 << 0
HINT_MIN_SIZE1 << 1
HINT_MAX_SIZE1 << 2
HINT_BASE_SIZE1 << 3
HINT_ASPECT1 << 4
HINT_RESIZE_INC1 << 5
HINT_WIN_GRAVITY1 << 6
HINT_USER_POS1 << 7
HINT_USER_SIZE1 << 8

Meta