diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1999-03-04 23:00:11 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1999-03-04 23:00:11 (GMT) |
commit | 57ed139c221f5258f9c6c3a5c4fe939511418e2e (patch) | |
tree | b722571597b7f3e5a8c3c20adc86bd500136fbf7 /Mac/Lib/lib-toolbox | |
parent | 5b6334f210c711ae194482e5ab75c2f8f5d89a98 (diff) | |
download | cpython-57ed139c221f5258f9c6c3a5c4fe939511418e2e.zip cpython-57ed139c221f5258f9c6c3a5c4fe939511418e2e.tar.gz cpython-57ed139c221f5258f9c6c3a5c4fe939511418e2e.tar.bz2 |
Added App module (appearance manager interface).
Diffstat (limited to 'Mac/Lib/lib-toolbox')
-rw-r--r-- | Mac/Lib/lib-toolbox/Appearance.py | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/Mac/Lib/lib-toolbox/Appearance.py b/Mac/Lib/lib-toolbox/Appearance.py new file mode 100644 index 0000000..877e33f --- /dev/null +++ b/Mac/Lib/lib-toolbox/Appearance.py @@ -0,0 +1,85 @@ +# Generated from 'Moes:Codewarrior Pro 4:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Appearance.h' + +def FOUR_CHAR_CODE(x): return x +_AppearanceDispatch = 0xAA74 +gestaltAppearanceAttr = FOUR_CHAR_CODE('appr') +gestaltAppearanceExists = 0 +gestaltAppearanceCompatMode = 1 +gestaltAppearanceVersion = FOUR_CHAR_CODE('apvr') +kAppearanceEventClass = FOUR_CHAR_CODE('appr') +kAEThemeSwitch = FOUR_CHAR_CODE('thme') +appearanceBadBrushIndexErr = -30560 +appearanceProcessRegisteredErr = -30561 +appearanceProcessNotRegisteredErr = -30562 +appearanceBadTextColorIndexErr = -30563 +appearanceThemeHasNoAccents = -30564 +appearanceBadCursorIndexErr = -30565 +kThemeActiveDialogBackgroundBrush = 1 +kThemeInactiveDialogBackgroundBrush = 2 +kThemeActiveAlertBackgroundBrush = 3 +kThemeInactiveAlertBackgroundBrush = 4 +kThemeActiveModelessDialogBackgroundBrush = 5 +kThemeInactiveModelessDialogBackgroundBrush = 6 +kThemeActiveUtilityWindowBackgroundBrush = 7 +kThemeInactiveUtilityWindowBackgroundBrush = 8 +kThemeListViewSortColumnBackgroundBrush = 9 +kThemeListViewBackgroundBrush = 10 +kThemeIconLabelBackgroundBrush = 11 +kThemeListViewSeparatorBrush = 12 +kThemeChasingArrowsBrush = 13 +kThemeDragHiliteBrush = 14 +kThemeDocumentWindowBackgroundBrush = 15 +kThemeFinderWindowBackgroundBrush = 16 +kThemeActiveDialogTextColor = 1 +kThemeInactiveDialogTextColor = 2 +kThemeActiveAlertTextColor = 3 +kThemeInactiveAlertTextColor = 4 +kThemeActiveModelessDialogTextColor = 5 +kThemeInactiveModelessDialogTextColor = 6 +kThemeActiveWindowHeaderTextColor = 7 +kThemeInactiveWindowHeaderTextColor = 8 +kThemeActivePlacardTextColor = 9 +kThemeInactivePlacardTextColor = 10 +kThemePressedPlacardTextColor = 11 +kThemeActivePushButtonTextColor = 12 +kThemeInactivePushButtonTextColor = 13 +kThemePressedPushButtonTextColor = 14 +kThemeActiveBevelButtonTextColor = 15 +kThemeInactiveBevelButtonTextColor = 16 +kThemePressedBevelButtonTextColor = 17 +kThemeActivePopupButtonTextColor = 18 +kThemeInactivePopupButtonTextColor = 19 +kThemePressedPopupButtonTextColor = 20 +kThemeIconLabelTextColor = 21 +kThemeListViewTextColor = 22 +kThemeActiveDocumentWindowTitleTextColor = 23 +kThemeInactiveDocumentWindowTitleTextColor = 24 +kThemeActiveMovableModalWindowTitleTextColor = 25 +kThemeInactiveMovableModalWindowTitleTextColor = 26 +kThemeActiveUtilityWindowTitleTextColor = 27 +kThemeInactiveUtilityWindowTitleTextColor = 28 +kThemeActivePopupWindowTitleColor = 29 +kThemeInactivePopupWindowTitleColor = 30 +kThemeActiveRootMenuTextColor = 31 +kThemeSelectedRootMenuTextColor = 32 +kThemeDisabledRootMenuTextColor = 33 +kThemeActiveMenuItemTextColor = 34 +kThemeSelectedMenuItemTextColor = 35 +kThemeDisabledMenuItemTextColor = 36 +kThemeActivePopupLabelTextColor = 37 +kThemeInactivePopupLabelTextColor = 38 +kThemeStateDisabled = 0 +kThemeStateActive = 1 +kThemeStatePressed = 2 +kThemeMenuBarNormal = 0 +kThemeMenuBarSelected = 1 +kThemeMenuActive = 0 +kThemeMenuSelected = 1 +kThemeMenuDisabled = 3 +kThemeMenuTypePullDown = 0 +kThemeMenuTypePopUp = 1 +kThemeMenuTypeHierarchical = 2 +kThemeMenuItemPlain = 0 +kThemeMenuItemHierarchical = 1 +kThemeMenuItemScrollUpArrow = 2 +kThemeMenuItemScrollDownArrow = 3 |