UI module

send_scroll

procedure · 1 overloadsince 0.31.0Source

Queue wheel or trackpad scrolling; positive dy scrolls the content up (towards its end).

send_scroll :: (ui: *UI_State, dx: float, dy: float)

Queue wheel or trackpad scrolling; positive dy scrolls the content up (towards its end).

Parameters

ui: *UI_State
the UI to queue the event on.
dx: float
horizontal scroll in points.
dy: float
vertical scroll in points.

See also