Package: gdk

Function gdk:events-distance

Lambda List

gdk:events-distance (event1 event2)

Arguments

event1 -- a gdk:event instance
event2 -- a gdk:event instance

Return Value

The double float with the distance.

Details

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.
 

See also

#2023-5-25