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 gtk.Window if you call 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; Window.parseGeometry automatically sets these flags.

Values

ValueMeaning
POS1

indicates that the program has positioned the window

MIN_SIZE2

min size fields are set

MAX_SIZE4

max size fields are set

BASE_SIZE8

base size fields are set

ASPECT16

aspect ratio fields are set

RESIZE_INC32

resize increment fields are set

WIN_GRAVITY64

window gravity field is set

USER_POS128

indicates that the window’s position was explicitly set by the user

USER_SIZE256

indicates that the window’s size was explicitly set by the user