Method

GdkDeviceset_key

Declaration [src]

void
gdk_device_set_key (
  GdkDevice* device,
  guint index_,
  guint keyval,
  GdkModifierType modifiers
)

Description [src]

Specifies the X key event to generate when a macro button of a device is pressed.

Parameters

index_

Type: guint

The index of the macro button to set.

keyval

Type: guint

The keyval to generate.

modifiers

Type: GdkModifierType

The modifiers to set.