The Carbon Event Manager is the preferred interface for handling events in Carbon applications. You can use this interface to handle events generated in response to user input as well as to create your own custom events.
[Carbon Event Manager Programming Guide]
O'Reilly's Carbon programming book includes a chapter on Carbon Events - this chapter is available for free [online from O'Reilly]
Carbon Event Classes:
- kEventClassMouse (Events related to the mouse (mouse down/up/moved).)
- kEventClassKeyboard (Events related to the keyboard.)
- kEventClassTextInput (Events related to text input (by keyboard, or by input method).)
- kEventClassApplication (Application-level events (launch, quit, etc.).)
- kEventClassAppleEvent (Apple Events.)
- kEventClassMenu (Events related to menus.)
- kEventClassWindow (Events related to windows.)
- kEventClassControl (Events related to controls.)
- kEventClassCommand (Events related to commands generated by menu items or controls. These events contain HICommand structures.)
- kEventClassTablet (Events related to tablets.)
- kEventClassVolume (Events related to File Manager volumes.)
- kEventClassAppearance (Events related to the Appearance Manager.)
- kEventClassService (Events related to the Services Manager.)
- kEventClassToolbar (Events related to toolbars.)
- kEventClassToolbarItem (Events related to toolbar items.)
- kEventClassToolbarItemView (Events related to toolbar item views.)
- kEventClassAccessibility (Events related to application accessibility.)
- kEventClassSystem (Events related to the system.)
- kEventClassInk (Events related to Ink.)
- kEventClassTSMDocumentAccess