Function

GdkScrollEventget_relative_direction

since: 4.20

Declaration [src]

GdkScrollRelativeDirection
gdk_scroll_event_get_relative_direction (
  GdkEvent* event
)

Description [src]

Extracts the scroll direction relative to the physical motion.

Available since: 4.20

Parameters

event

Type: GdkScrollRelativeDirection

A relative scroll direction.

The data is owned by the caller of the function.

Return value

Type: GdkScrollRelativeDirection

The relative scroll direction.