GdkEventMotion.state

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See GdkModifierType

struct GdkEventMotion
ModifierType state;