EventScroll.direction

gdk.types.ScrollDirection direction() @property

Get direction field.

Returns

the direction to scroll to (one of [gdk.types.ScrollDirection.Up],

[gdk.types.ScrollDirection.Down], [gdk.types.ScrollDirection.Left], [gdk.types.ScrollDirection.Right] or [gdk.types.ScrollDirection.Smooth]).

void direction(gdk.types.ScrollDirection propval) @property

Set direction field.

Parameters

propvalthe direction to scroll to (one of [gdk.types.ScrollDirection.Up], [gdk.types.ScrollDirection.Down], [gdk.types.ScrollDirection.Left], [gdk.types.ScrollDirection.Right] or [gdk.types.ScrollDirection.Smooth]).