SeatCapabilities

public struct SeatCapabilities : OptionSet

Flags describing the seat capabilities.

  • 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 GdkSeatCapabilities enum value

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • No input capabilities

    Declaration

    Swift

    public static let none: SeatCapabilities
  • The seat has a pointer (e.g. mouse)

    Declaration

    Swift

    public static let pointer: SeatCapabilities
  • The seat has touchscreen(s) attached

    Declaration

    Swift

    public static let touch: SeatCapabilities
  • The seat has drawing tablet(s) attached

    Declaration

    Swift

    public static let tabletStylus: SeatCapabilities
  • The seat has keyboard(s) attached

    Declaration

    Swift

    public static let keyboard: SeatCapabilities
  • The union of all pointing capabilities

    Declaration

    Swift

    public static let allPointing: SeatCapabilities
  • all

    The union of all capabilities

    Declaration

    Swift

    public static let all: SeatCapabilities