Carbon Programming/Handling events
Jump to navigation
Jump to search
This page or section is an undeveloped draft or outline. You can help to develop the work, or you can ask for assistance in the project room. |
Event loop
[edit | edit source]The event loop is started with one function call:
- RunApplicationEventLoop();
The event loop will process events as long as the application is running. To exit the event loop, call QuitApplicationEventLoop().
Registering events
[edit | edit source]- InstallEventHandler () - Creates an event handler for the application.
- AddEventTypesToHandler() - Adds an event used by the handler.