The libgrip library provides multi-touch and gesture events to GTK widgets.
The libgrip library provides a singleton GripGestureManager that maintains a connection to the gesture recognizer. Any widgets interested in acting on gestures must register one or more callback functions with the GripGestureManager, one per gesture primitive. The widgets will receive data describing the ongoing state of gestures as they occur, and must take appropriate action in the callback function.