Gesture.getPoint

If sequence is currently being interpreted by gesture, this function returns TRUE and fills in x and y with the last coordinates stored for that event sequence. The coordinates are always relative to the widget allocation.

class Gesture
bool
getPoint
(
GdkEventSequence* sequence
,
out double x
,
out double y
)

Parameters

sequence GdkEventSequence*

a gdk.EventSequence, or NULL for pointer events

x double

return location for X axis of the sequence coordinates

y double

return location for Y axis of the sequence coordinates

Return Value

Type: bool

TRUE if sequence is currently interpreted

Meta

Since

3.14