Event.GetDistance

Returns the distance between the event locations.

This assumes that both events have X/Y information. If not, this function returns %FALSE.

class Event
bool
GetDistance
(,
out double distance
)

Parameters

event2 Event

second GdkEvent

distance double

return location for the distance

Return Value

Type: bool

%TRUE if the distance could be calculated.

Meta