Package: gdk

Function gdk-events-distance

Lambda List

gdk-events-distance (event-1 event-2)

Arguments

event-1 -- a gdk-event instance
event-2 -- a gdk-event instance

Return Value

A :double 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 event-1 to event-2.
 

See also

2020-8-25