external state : t -> int = "ml_GdkEventMotion_state"