-
Cast constructor, converting any binary integer to a
InputMode
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
the device is disabled and will not report any events.
Declaration
Swift
static let disabled: GdkInputMode
-
the device is enabled. The device’s coordinate space maps to the entire screen.
Declaration
Swift
static let screen: GdkInputMode
-
the device is enabled. The device’s coordinate space is mapped to a single window. The manner in which this window is chosen is undefined, but it will typically be the same way in which the focus window for key events is determined.
Declaration
Swift
static let window: GdkInputMode