Carbon Programming/Handling events
From Wikibooks, open books for an open world
|
|
A reader has identified this page or section as an undeveloped draft or outline. You can help to develop the work, or you can ask for assistance in the project room. |
[edit] Event loop
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().
[edit] Registering events
- InstallEventHandler () - Creates an event handler for the application.
- AddEventTypesToHandler() - Adds an event used by the handler.
This page may need to be