WMFunction
public struct WMFunction : OptionSet
These are hints originally defined by the Motif toolkit. The window manager can use them when determining the functions to offer for the window. The hint must be set before mapping the window.
-
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
gint
valueDeclaration
Swift
@inlinable public var int: gint { get set }
-
The equivalent underlying
GdkWMFunction
enum valueDeclaration
Swift
@inlinable public var value: GdkWMFunction { 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
GdkWMFunction
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GdkWMFunction)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
all functions should be offered.
Declaration
Swift
public static let all: WMFunction
-
the window should be resizable.
Declaration
Swift
public static let resize: WMFunction
-
the window should be movable.
Declaration
Swift
public static let move: WMFunction
-
the window should be minimizable.
Declaration
Swift
public static let minimize: WMFunction
-
the window should be maximizable.
Declaration
Swift
public static let maximize: WMFunction
-
the window should be closable.
Declaration
Swift
public static let close: WMFunction