KeyMods
flags KeyMods extends uint8import KeyMods from Wax;A combinable bit set of modifier-key and lock states. None is the empty mask; Shift, Ctrl, Alt, and Meta combine left and right variants.
Members
Nonecase
case None = 0Shiftcase
case Shift = 1Ctrlcase
case Ctrl = 2Altcase
case Alt = 4Metacase
case Meta = 8CapsLockcase
case CapsLock = 16NumLockcase
case NumLock = 32Addmethod
public fn Add(KeyMods flags) : KeyModsProvided by the compiler.
CompareTomethod
public fn CompareTo(KeyMods other) : int32Provided by the compiler.
Equalsmethod
public fn Equals(KeyMods other) : boolProvided by the compiler.
GetHashCodemethod
public fn GetHashCode() : uint32Provided by the compiler.
HasAllmethod
public fn HasAll(KeyMods flags) : boolProvided by the compiler.
HasValuemethod
public fn HasValue(KeyMods flags) : boolProvided by the compiler.
Removemethod
public fn Remove(KeyMods flags) : KeyModsProvided by the compiler.
ToStringmethod
public fn ToString() : stringProvided by the compiler.
ToStringBuffermethod
public fn ToStringBuffer(StringBuilder builder) : int32Provided by the compiler.
Togglemethod
public fn Toggle(KeyMods flags) : KeyModsProvided by the compiler.