Class (GI Struct)

Gdk-3.0GdkEventScroll

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.ScrollDirection.SMOOTH scroll direction. For these, the scroll deltas can be obtained with gdk_event_get_scroll_deltas().

Index

Constructors

Properties

delta_x: number
delta_y: number
device: Gdk.Device
direction: Gdk.ScrollDirection
is_stop: number
send_event: number
time: number
window: Gdk.Window
x: number
x_root: number
y: number
y_root: number