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.
See Implementation
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.