![]() |
Appearance Manager Apple Event Constants |
Header: Appearance.h |
enum { kAppearanceEventClass = 'appr', kAEAppearanceChanged = 'thme', kAESystemFontChanged = 'sysf', kAESmallSystemFontChanged = 'ssfn', kAEViewsFontChanged = 'vfnt' };
The event class of Appearance Manager Apple events.
The ID of the event indicating the current appearance has changed.
The ID of the event indicating the current system font has changed.
The ID of the event indicating the current small system font has changed.
The ID of the event indicating the current views font has changed.
Under Appearance Manager 1.1 and later, when the user changes the current appearance (that is, when a theme switch occurs), the Appearance Manager may send any of these Apple events to all running applications that are high-level event aware and which are registered as clients of the Appearance Manager. Your application registers itself with the Appearance Manager by calling the function
Because typical results of a theme switch might include a change in menu bar height or window structure dimensions, as well as changes to the system fonts, colors, and patterns that are currently in use, applications should listen for and respond to the Appearance Manager Apple events under most circumstances. Note that none of the Appearance Manager Apple events have parameters and that the return value for each is ignored.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)