Inkscape
Vector Graphics Editor
|
Scroll the item or widget by the provided amount. More...
#include <canvas-event.h>
Public Member Functions | |
EventType | type () const override |
Return the dynamic type of the CanvasEvent. | |
![]() | |
virtual | ~CanvasEvent () |
virtual unsigned | modifiersChange () const |
Get the change in the modifiers due to this event. | |
unsigned | modifiersAfter () const |
Get the modifiers mask immediately after the event. (Convenience function.) | |
Public Attributes | |
Geom::Point | delta |
The amount scrolled. | |
Gdk::ScrollUnit | unit = Gdk::ScrollUnit::SURFACE |
The units of the scroll delta. | |
ExtendedInput | extinput |
Extended input data for graphics tablet input. Fields may be empty. | |
![]() | |
unsigned | modifiers = 0 |
The modifiers mask immediately before the event. | |
std::shared_ptr< Gdk::Device const > | device |
The device that sourced the event. May be null. | |
Scroll the item or widget by the provided amount.
Definition at line 243 of file canvas-event.h.
|
inlineoverridevirtual |
Return the dynamic type of the CanvasEvent.
Implements Inkscape::CanvasEvent.
Definition at line 245 of file canvas-event.h.
References Inkscape::SCROLL.
Geom::Point Inkscape::ScrollEvent::delta |
The amount scrolled.
Definition at line 248 of file canvas-event.h.
ExtendedInput Inkscape::ScrollEvent::extinput |
Extended input data for graphics tablet input. Fields may be empty.
Definition at line 254 of file canvas-event.h.
Gdk::ScrollUnit Inkscape::ScrollEvent::unit = Gdk::ScrollUnit::SURFACE |
The units of the scroll delta.
Definition at line 251 of file canvas-event.h.