Package: gdk

Function gdk-events-center

Lambda List

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

Arguments

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

Return Value

x -- a :double with the x coordinate of the center
y -- a :double 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

2020-8-25