WindowAttributesType
public struct WindowAttributesType : OptionSet
Used to indicate which fields in the GdkWindowAttr struct should be honored.
For example, if you filled in the “cursor” and “x” fields of GdkWindowAttr,
pass “GDK_WA_X | GDK_WA_CURSOR” to gdk_window_new(). Fields in
GdkWindowAttr not covered by a bit in this enum are required; for example,
the width/height, wclass, and window_type fields are required, they have
no corresponding flag in GdkWindowAttributesType.
-
The corresponding value of the raw type
Declaration
Swift
public var rawValue: UInt32 -
The equivalent raw Int value
Declaration
Swift
@inlinable public var intValue: Int { get set } -
The equivalent raw
gintvalueDeclaration
Swift
@inlinable public var int: gint { get set } -
The equivalent underlying
GdkWindowAttributesTypeenum valueDeclaration
Swift
@inlinable public var value: GdkWindowAttributesType { get set } -
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32) -
Creates a new instance with the specified
GdkWindowAttributesTypeenum valueDeclaration
Swift
@inlinable public init(_ enumValue: GdkWindowAttributesType) -
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger -
Honor the title field
Declaration
Swift
public static let title: WindowAttributesType -
Honor the X coordinate field
Declaration
Swift
public static let x: WindowAttributesType -
Honor the Y coordinate field
Declaration
Swift
public static let y: WindowAttributesType -
Honor the cursor field
Declaration
Swift
public static let cursor: WindowAttributesType -
Honor the visual field
Declaration
Swift
public static let visual: WindowAttributesType -
Honor the wmclass_class and wmclass_name fields
Declaration
Swift
public static let wmclass: WindowAttributesType -
Honor the override_redirect field
Declaration
Swift
public static let noredir: WindowAttributesType -
Honor the type_hint field
Declaration
Swift
public static let typeHint: WindowAttributesType
View on GitHub
Install in Dash
WindowAttributesType Structure Reference