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

A double float with the distance.

Details

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

See also

#2023-2-26