Package: gdk

Function gdk:events-center

Lambda List

gdk:events-center (event1 event2)

Syntax

(gdk:events-center event1 event2) => x, y

Arguments

event1 -- a gdk:event instance
event2 -- a gdk:event instance
x -- a double float for the x coordinate of the center
y -- a double float for the y coordinate of the center

Details

Returns the point halfway between the positions of the events. This assumes that both events have X/Y information. If not, this function returns false.
 

See also

#2025-09-26