DevicePropertyName

public enum DevicePropertyName : String, PropertyNameProtocol

Undocumented

  • Whether Caps Lock is on.

    This is only relevant for keyboard devices.

    Declaration

    Swift

    case capsLockState = "caps-lock-state"
  • The direction of the current layout.

    This is only relevant for keyboard devices.

    Declaration

    Swift

    case direction = "direction"
  • The GdkDisplay the GdkDevice pertains to.

    Declaration

    Swift

    case display = "display"
  • Whether the device has both right-to-left and left-to-right layouts.

    This is only relevant for keyboard devices.

    Declaration

    Swift

    case hasBidiLayouts = "has-bidi-layouts"
  • Whether the device is represented by a cursor on the screen.

    Declaration

    Swift

    case hasCursor = "has-cursor"
  • The current modifier state of the device.

    This is only relevant for keyboard devices.

    Declaration

    Swift

    case modifierState = "modifier-state"
  • Number of axes in the device.

    Declaration

    Swift

    case nAxes = "n-axes"
  • The device name.

    Declaration

    Swift

    case name = "name"
  • Whether Num Lock is on.

    This is only relevant for keyboard devices.

    Declaration

    Swift

    case numLockState = "num-lock-state"
  • The maximal number of concurrent touches on a touch device.

    Will be 0 if the device is not a touch device or if the number of touches is unknown.

    Declaration

    Swift

    case numTouches = "num-touches"
  • Product ID of this device.

    See [methodGdk.Device.get_product_id].

    Declaration

    Swift

    case productId = "product-id"
  • Whether Scroll Lock is on.

    This is only relevant for keyboard devices.

    Declaration

    Swift

    case scrollLockState = "scroll-lock-state"
  • GdkSeat of this device.

    Declaration

    Swift

    case seat = "seat"
  • Source type for the device.

    Declaration

    Swift

    case source = "source"
  • The GdkDeviceTool that is currently used with this device.

    Declaration

    Swift

    case tool = "tool"
  • Vendor ID of this device.

    See [methodGdk.Device.get_vendor_id].

    Declaration

    Swift

    case vendorId = "vendor-id"