WMDecoration

public struct WMDecoration : OptionSet

These are hints originally defined by the Motif toolkit. The window manager can use them when determining how to decorate 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 }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GdkWMDecoration enum value

    Declaration

    Swift

    @inlinable
    public var value: GdkWMDecoration { 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 GdkWMDecoration enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: GdkWMDecoration)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • all

    all decorations should be applied.

    Declaration

    Swift

    public static let all: WMDecoration
  • a frame should be drawn around the window.

    Declaration

    Swift

    public static let border: WMDecoration
  • the frame should have resize handles.

    Declaration

    Swift

    public static let resizeh: WMDecoration
  • a titlebar should be placed above the window.

    Declaration

    Swift

    public static let title: WMDecoration
  • a button for opening a menu should be included.

    Declaration

    Swift

    public static let menu: WMDecoration
  • a minimize button should be included.

    Declaration

    Swift

    public static let minimize: WMDecoration
  • a maximize button should be included.

    Declaration

    Swift

    public static let maximize: WMDecoration