Function

Gdk-3.0Gdkevents_get_distanceSince 3.0

  • If both events have X/Y information, the distance between both coordinates (as in a straight line going from event1 to event2) will be returned.

    Parameters

    Returns [boolean, number]

    true if the distance could be calculated.

    3.0