EventControllerScrollFlags#

class EventControllerScrollFlags#

Describes the behavior of a GtkEventControllerScroll.

Fields#

class EventControllerScrollFlags
BOTH_AXES#

Emit scroll on both axes.

DISCRETE#

Only emit deltas that are multiples of 1.

HORIZONTAL#

Emit scroll with horizontal deltas.

KINETIC#

Emit ::decelerate after continuous scroll finishes.

NONE#

Don’t emit scroll.

PHYSICAL_DIRECTION#

A EventControllerScrollFlags value to prefer physical direction over logical direction (i.e. oblivious to natural scroll).

Added in version 4.20.

VERTICAL#

Emit scroll with vertical deltas.