Package: gdk

Enum gdk-window-type

Details

Describes the kind of the window.
(define-g-enum "GdkWindowType" gdk-window-type
  (:export t
   :type-initializer "gdk_window_type_get_type")
  (:root 0)
  (:toplevel 1)
  (:child 2)
  (:temp 3)
  (:foreign 4)
  (:offscreen 5)
  (:subsurface 6))  
:root
Root window; this window has no parent, covers the entire screen, and is created by the window system.
:toplevel
Toplevel window, used to implement gtk-window.
:child
Child window, used to implement e.g. gtk-entry.
:temp
Override redirect temporary window, used to implement gtk-menu.
:foreign
Foreign window.
:offscreen
Offscreen window, see the section called "Offscreen Windows".
:subsurface
Subsurface-based window. This window is visually tied to a toplevel, and is moved/stacked with it. Currently this window type is only implemented in Wayland.
 

See also

2020-9-6