Function

Gdk-4.0Gdkevents_get_distance

  • Returns the distance between the event locations.

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

    Parameters

    Returns [boolean, number]

    true if the distance could be calculated.