Method

GdkDeviceget_modifier_state

Declaration [src]

GdkModifierType
gdk_device_get_modifier_state (
  GdkDevice* device
)

Description [src]

Retrieves the current modifier state of the keyboard.

This is only relevant for keyboard devices.

Return value

Type: GdkModifierType

The current modifier state.