Description:
Generated from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.
Event triggered when a scrollable control is scrolled (please check GTK documentation for more information).
Evaluating EventData like this :
EventData=
StrNumberSplit(EventData,":");
X=EventData[0];
Y=EventData[1];
direction=EventData[2];
state=EventData[3]
will give you the x, y, direction of scroll and the state of the modifier keys.
direction has one of this values:
GDK_SCROLL_UP, GDK_SCROLL_DOWN, GDK_SCROLL_LEFT and GDK_SCROLL_RIGHT