events

inline fun events(builder: GuiBuilder.EventHandlerBuilder.() -> Unit)(source)

Opens a new EventHandlerBuilder to build and set a new GuiEventHandler for the gui.