the x coordinate of the scroll delta
the y coordinate of the scroll delta
the master device that the event originated from. Use gdk_event_get_source_device() to get the slave device.
the direction to scroll to (one of %GDK_SCROLL_UP, %GDK_SCROLL_DOWN, %GDK_SCROLL_LEFT, %GDK_SCROLL_RIGHT or %GDK_SCROLL_SMOOTH).
%TRUE if the event was sent explicitly.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See #GdkModifierType.
the time of the event in milliseconds.
the type of the event (%GDK_SCROLL).
the window which received the event.
the x coordinate of the pointer relative to the window.
the x coordinate of the pointer relative to the root of the screen.
the y coordinate of the pointer relative to the window.
the y coordinate of the pointer relative to the root of the screen.
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.
Some GDK backends can also generate “smooth” scroll events, which can be recognized by the %GDK_SCROLL_SMOOTH scroll direction. For these, the scroll deltas can be obtained with gdk_event_get_scroll_deltas().