Event.eventsGetDistance

If both events have X/Y information, the distance between both coordinates (as in a straight line going from event1 to event2) will be returned.

class Event
int
eventsGetDistance
(,
out double distance
)

Parameters

event2 Event

second GdkEvent

distance double

return location for the distance. out

Return Value

Type: int

TRUE if the distance could be calculated. Since 3.0

Meta