GestureStylus

GtkGestureStylus is a GtkGesture implementation specific to stylus input. The provided signals just provide the basic information

Constructors

this
this(GtkGestureStylus* gtkGestureStylus, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(Widget widget)

Creates a new GtkGestureStylus

Members

Functions

addOnDown
gulong addOnDown(void delegate(double, double, GestureStylus) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)
addOnMotion
gulong addOnMotion(void delegate(double, double, GestureStylus) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)
addOnProximity
gulong addOnProximity(void delegate(double, double, GestureStylus) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)
addOnUp
gulong addOnUp(void delegate(double, double, GestureStylus) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)
getAxes
bool getAxes(GdkAxisUse[] axes, out double[] values)

Returns the current values for the requested axes. This function must be called from either the down, motion, up or proximity signals.

getAxis
bool getAxis(GdkAxisUse axis, out double value)

Returns the current value for the requested axis. This function must be called from either the down, motion, up or proximity signals.

getDeviceTool
DeviceTool getDeviceTool()

Returns the GdkDeviceTool currently driving input through this gesture. This function must be called from either the down, motion, up or proximity signal handlers.

getGestureStylusStruct
GtkGestureStylus* getGestureStylusStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gtkGestureStylus
GtkGestureStylus* gtkGestureStylus;

the main Gtk struct