Package org.openrndr.events

Types

Event
Link copied to clipboard
class Event<T>(name: String, postpone: Boolean)
an event class

Functions

listen
Link copied to clipboard
fun <T : Any> Iterable<Event<T>>.listen(listener: (T) -> Unit): (T) -> Unit
add listener to Iterable of Event entries