-
Cast constructor, converting any binary integer to a
WindowType
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
root window; this window has no parent, covers the entire screen, and is created by the window system
Declaration
Swift
static let root: GdkWindowType
-
toplevel window (used to implement
GtkWindow
)Declaration
Swift
static let toplevel: GdkWindowType
-
child window (used to implement e.g.
GtkEntry
)Declaration
Swift
static let child: GdkWindowType
-
override redirect temporary window (used to implement
GtkMenu
)Declaration
Swift
static let temp: GdkWindowType
-
foreign window (see
gdk_window_foreign_new()
)Declaration
Swift
static let foreign: GdkWindowType
-
offscreen window (see Offscreen Windows). Since 2.18
Declaration
Swift
static let offscreen: GdkWindowType
-
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. Since 3.14
Declaration
Swift
static let subsurface: GdkWindowType