< Carbon Programming
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().
Registering events
- InstallEventHandler () - Creates an event handler for the application.
- AddEventTypesToHandler() - Adds an event used by the handler.
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.