dispatch

abstract fun dispatch(event: UIEvent): UIEventResponse

Dispatches the given UIEvent and propagates it throughout the UI controls this UIEventDispatcher has. This will return Pass if there are no listeners for the given event's UIEventType or if invoking all listeners returned Pass. Otherwise dispatch will return the UIEventResponse with the highest precedence.

Sources

(source)
Link copied to clipboard