Device.getKey

If index_ has a valid keyval, this function will return TRUE and fill in keyval and modifiers with the keyval settings.

class Device
bool
getKey

Parameters

index uint

the index of the macro button to get.

keyval uint

return value for the keyval.

modifiers GdkModifierType

return value for modifiers.

Return Value

Type: bool

TRUE if keyval is set for index.

Meta

Since

2.20