cpython/Mac/Lib/lib-toolbox/Appearance.py

86 lines
3.1 KiB
Python
Raw Normal View History

# 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