Enumeration (GI Flags)

Gtk-4.0GtkEventControllerScrollFlags

Describes the behavior of a Gtk.EventControllerScroll.

Index

Enumeration Members

BOTH_AXES: number

Emit scroll on both axes.

DISCRETE: number

Only emit deltas that are multiples of 1.

HORIZONTAL: number

Emit scroll with horizontal deltas.

KINETIC: number

Emit ::decelerate after continuous scroll finishes.

NONE: number

Don't emit scroll.

PHYSICAL_DIRECTION: number

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

VERTICAL: number

Emit scroll with vertical deltas.