SimpleWindow.setEventHandlers

Sets your event handlers, without entering the event loop. Useful if you have multiple windows - set the handlers on each window, then only do eventLoop on your main window or call EventLoop.get.run();.

This assigns the given handlers to handleKeyEvent, handleCharEvent, handlePulse, and handleMouseEvent automatically based on the provide delegate signatures.

class SimpleWindow
void
setEventHandlers
(
T...
)

Meta