Enumeration

GdkWindowHints

Declaration

flags Gdk.WindowHints

Description [src]

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.

Members

GDK_HINT_POS

Indicates that the program has positioned the window.

  • Value: 1
  • Available since: 3.0
GDK_HINT_MIN_SIZE

Min size fields are set.

  • Value: 2
  • Available since: 3.0
GDK_HINT_MAX_SIZE

Max size fields are set.

  • Value: 4
  • Available since: 3.0
GDK_HINT_BASE_SIZE

Base size fields are set.

  • Value: 8
  • Available since: 3.0
GDK_HINT_ASPECT

Aspect ratio fields are set.

  • Value: 16
  • Available since: 3.0
GDK_HINT_RESIZE_INC

Resize increment fields are set.

  • Value: 32
  • Available since: 3.0
GDK_HINT_WIN_GRAVITY

Window gravity field is set.

  • Value: 64
  • Available since: 3.0
GDK_HINT_USER_POS

Indicates that the window’s position was explicitly set by the user.

  • Value: 128
  • Available since: 3.0
GDK_HINT_USER_SIZE

Indicates that the window’s size was explicitly set by the user.

  • Value: 256
  • Available since: 3.0