Package: gdk

GFlags gdk:window-hints

Declaration

(gobject:define-gflags "GdkWindowHints" window-hints
  (:export t
   :type-initializer "gdk_window_hints_get_type")
  (:pos 1)
  (:min-size 2)
  (:max-size 4)
  (:base-size 8)
  (:aspect 16)
  (:resize-inc 32)
  (:win-gravity 64)
  (:user-pos 128)
  (:user-size 256))  

Values

:pos
Indicates that the program has positioned the window.
:min-size
Min size fields are set.
:max-size
Max size fields are set.
:base-size
Base size fields are set.
:aspect
Aspect ratio fields are set.
:resize-inc
Resize increment fields are set.
:win-gravity
Window gravity field is set.
:user-pos
Indicates that the window's position was explicitly set by the user.
:user-size
Indicates that the window's size was explicitly set by the user.

Details

Used to indicate which fields of a gdk:geometry instance should be paid attention to. Also, the presence/absence of the :pos, :user-pos, and :user-size values is significant, though they do not directly refer to gdk:geometry fields. The :user-pos value will be set automatically by the gtk:window widget if you call the gtk:window-move function. The :user-pos and :user-size values should be set if the user specified a size/position using a - geometry command-line argument. The gtk:window-parse-geometry function automatically sets these flags.
 

See also

2023-2-26