Package: gdk

Function gdk:events-center

Lambda List

gdk:events-center (event1 event2)

Arguments

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

Return Value

x - a double float with the x coordinate of the center
y - a double float with the y coordinate of the center

Details

If both events contain X/Y information, the center of both coordinates will be returned in x and y.
 

See also

#2023-5-25