Enumeration (GI Flags)

Gtk-4.0GtkEventControllerScrollFlags

Describes the behavior of a Gtk.EventControllerScroll.

Index
BOTH_AXES: 3

Emit scroll on both axes.

DISCRETE: 4

Only emit deltas that are multiples of 1.

HORIZONTAL: 2

Emit scroll with horizontal deltas.

KINETIC: 8

Emit ::decelerate after continuous scroll finishes.

NONE: 0

Don't emit scroll.

PHYSICAL_DIRECTION: 16

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

4.20

VERTICAL: 1

Emit scroll with vertical deltas.

Variables

$gtype