Skip to content

slint::language::PointerScrollEvent Struct

struct PointerScrollEvent;
C++
#include <slint.h>
C++

Represents a Pointer scroll (or wheel) event sent by the windowing system. This structure is passed to the scroll-event callback of the TouchArea element.

float slint::language::PointerScrollEvent::delta_x

The amount of pixel in the horizontal direction.

float slint::language::PointerScrollEvent::delta_y

The amount of pixel in the vertical direction.

KeyboardModifiers slint::language::PointerScrollEvent::modifiers

The keyboard modifiers pressed during the event.


© 2026 SixtyFPS GmbH