Method
GdkDeviceget_key
since: 2.20
Declaration [src]
gboolean
gdk_device_get_key (
GdkDevice* device,
guint index_,
guint* keyval,
GdkModifierType* modifiers
)
Description [src]
If index_ has a valid keyval, this function will return TRUE
and fill in keyval and modifiers with the keyval settings.
Available since: 2.20
Parameters
index_-
Type:
guintThe index of the macro button to get.
keyval-
Type:
guint*Return value for the keyval.
The argument will be set by the function. modifiers-
Type:
GdkModifierTypeReturn value for modifiers.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it.