Device.getKey

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

class Device
int
getKey

Parameters

index uint

the index of the macro button to get.

keyval uint

return value for the keyval. out

modifiers GdkModifierType

return value for modifiers. out

Return Value

Type: int

TRUE if keyval is set for index.

Meta