Enumeration

GtkEventControllerScrollFlags

since: 3.24

Declaration

flags Gtk.EventControllerScrollFlags

Description [src]

Describes the behavior of a GtkEventControllerScroll.

Available since: 3.24

Members

GTK_EVENT_CONTROLLER_SCROLL_NONE

Don’t emit scroll.

  • Value: 0
  • Available since: 3.24
GTK_EVENT_CONTROLLER_SCROLL_VERTICAL

Emit scroll with vertical deltas.

  • Value: 1
  • Available since: 3.24
GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL

Emit scroll with horizontal deltas.

  • Value: 2
  • Available since: 3.24
GTK_EVENT_CONTROLLER_SCROLL_DISCRETE

Only emit deltas that are multiples of 1.

  • Value: 4
  • Available since: 3.24
GTK_EVENT_CONTROLLER_SCROLL_KINETIC

Emit GtkEventControllerScroll::decelerate after continuous scroll finishes.

  • Value: 8
  • Available since: 3.24
GTK_EVENT_CONTROLLER_SCROLL_BOTH_AXES

Emit scroll on both axes.

  • Value: 3
  • Available since: 3.24