[Python-checkins] python/dist/src/Mac/Modules/app _Appmodule.c,1.11,1.12
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 16 Aug 2002 02:09:46 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/app
In directory usw-pr-cvs1:/tmp/cvs-serv18405/app
Modified Files:
_Appmodule.c
Log Message:
Regenerated with PyDoc_STR() around docstrings.
Index: _Appmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/app/_Appmodule.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** _Appmodule.c 23 Apr 2002 22:45:54 -0000 1.11
--- _Appmodule.c 16 Aug 2002 09:09:13 -0000 1.12
***************
*** 108,114 ****
static PyMethodDef ThemeDrawingStateObj_methods[] = {
{"SetThemeDrawingState", (PyCFunction)ThemeDrawingStateObj_SetThemeDrawingState, 1,
! "(Boolean inDisposeNow) -> (OSStatus _rv)"},
{"DisposeThemeDrawingState", (PyCFunction)ThemeDrawingStateObj_DisposeThemeDrawingState, 1,
! "() -> (OSStatus _rv)"},
{NULL, NULL, 0}
};
--- 108,114 ----
static PyMethodDef ThemeDrawingStateObj_methods[] = {
{"SetThemeDrawingState", (PyCFunction)ThemeDrawingStateObj_SetThemeDrawingState, 1,
! PyDoc_STR("(Boolean inDisposeNow) -> (OSStatus _rv)")},
{"DisposeThemeDrawingState", (PyCFunction)ThemeDrawingStateObj_DisposeThemeDrawingState, 1,
! PyDoc_STR("() -> (OSStatus _rv)")},
{NULL, NULL, 0}
};
***************
*** 1647,1793 ****
static PyMethodDef App_methods[] = {
{"RegisterAppearanceClient", (PyCFunction)App_RegisterAppearanceClient, 1,
! "() -> None"},
{"UnregisterAppearanceClient", (PyCFunction)App_UnregisterAppearanceClient, 1,
! "() -> None"},
{"SetThemePen", (PyCFunction)App_SetThemePen, 1,
! "(ThemeBrush inBrush, SInt16 inDepth, Boolean inIsColorDevice) -> None"},
{"SetThemeBackground", (PyCFunction)App_SetThemeBackground, 1,
! "(ThemeBrush inBrush, SInt16 inDepth, Boolean inIsColorDevice) -> None"},
{"SetThemeTextColor", (PyCFunction)App_SetThemeTextColor, 1,
! "(ThemeTextColor inColor, SInt16 inDepth, Boolean inIsColorDevice) -> None"},
{"SetThemeWindowBackground", (PyCFunction)App_SetThemeWindowBackground, 1,
! "(WindowPtr inWindow, ThemeBrush inBrush, Boolean inUpdate) -> None"},
{"DrawThemeWindowHeader", (PyCFunction)App_DrawThemeWindowHeader, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"DrawThemeWindowListViewHeader", (PyCFunction)App_DrawThemeWindowListViewHeader, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"DrawThemePlacard", (PyCFunction)App_DrawThemePlacard, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"DrawThemeEditTextFrame", (PyCFunction)App_DrawThemeEditTextFrame, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"DrawThemeListBoxFrame", (PyCFunction)App_DrawThemeListBoxFrame, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"DrawThemeFocusRect", (PyCFunction)App_DrawThemeFocusRect, 1,
! "(Rect inRect, Boolean inHasFocus) -> None"},
{"DrawThemePrimaryGroup", (PyCFunction)App_DrawThemePrimaryGroup, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"DrawThemeSecondaryGroup", (PyCFunction)App_DrawThemeSecondaryGroup, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"DrawThemeSeparator", (PyCFunction)App_DrawThemeSeparator, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"DrawThemeModelessDialogFrame", (PyCFunction)App_DrawThemeModelessDialogFrame, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"DrawThemeGenericWell", (PyCFunction)App_DrawThemeGenericWell, 1,
! "(Rect inRect, ThemeDrawState inState, Boolean inFillCenter) -> None"},
{"DrawThemeFocusRegion", (PyCFunction)App_DrawThemeFocusRegion, 1,
! "(Boolean inHasFocus) -> None"},
{"IsThemeInColor", (PyCFunction)App_IsThemeInColor, 1,
! "(SInt16 inDepth, Boolean inIsColorDevice) -> (Boolean _rv)"},
{"GetThemeAccentColors", (PyCFunction)App_GetThemeAccentColors, 1,
! "() -> (CTabHandle outColors)"},
{"DrawThemeMenuBarBackground", (PyCFunction)App_DrawThemeMenuBarBackground, 1,
! "(Rect inBounds, ThemeMenuBarState inState, UInt32 inAttributes) -> None"},
{"GetThemeMenuBarHeight", (PyCFunction)App_GetThemeMenuBarHeight, 1,
! "() -> (SInt16 outHeight)"},
{"DrawThemeMenuBackground", (PyCFunction)App_DrawThemeMenuBackground, 1,
! "(Rect inMenuRect, ThemeMenuType inMenuType) -> None"},
{"GetThemeMenuBackgroundRegion", (PyCFunction)App_GetThemeMenuBackgroundRegion, 1,
! "(Rect inMenuRect, ThemeMenuType menuType) -> None"},
{"DrawThemeMenuSeparator", (PyCFunction)App_DrawThemeMenuSeparator, 1,
! "(Rect inItemRect) -> None"},
{"GetThemeMenuSeparatorHeight", (PyCFunction)App_GetThemeMenuSeparatorHeight, 1,
! "() -> (SInt16 outHeight)"},
{"GetThemeMenuItemExtra", (PyCFunction)App_GetThemeMenuItemExtra, 1,
! "(ThemeMenuItemType inItemType) -> (SInt16 outHeight, SInt16 outWidth)"},
{"GetThemeMenuTitleExtra", (PyCFunction)App_GetThemeMenuTitleExtra, 1,
! "(Boolean inIsSquished) -> (SInt16 outWidth)"},
{"DrawThemeTabPane", (PyCFunction)App_DrawThemeTabPane, 1,
! "(Rect inRect, ThemeDrawState inState) -> None"},
{"GetThemeTabRegion", (PyCFunction)App_GetThemeTabRegion, 1,
! "(Rect inRect, ThemeTabStyle inStyle, ThemeTabDirection inDirection) -> None"},
{"SetThemeCursor", (PyCFunction)App_SetThemeCursor, 1,
! "(ThemeCursor inCursor) -> None"},
{"SetAnimatedThemeCursor", (PyCFunction)App_SetAnimatedThemeCursor, 1,
! "(ThemeCursor inCursor, UInt32 inAnimationStep) -> None"},
{"GetThemeScrollBarThumbStyle", (PyCFunction)App_GetThemeScrollBarThumbStyle, 1,
! "() -> (ThemeScrollBarThumbStyle outStyle)"},
{"GetThemeScrollBarArrowStyle", (PyCFunction)App_GetThemeScrollBarArrowStyle, 1,
! "() -> (ThemeScrollBarArrowStyle outStyle)"},
{"GetThemeCheckBoxStyle", (PyCFunction)App_GetThemeCheckBoxStyle, 1,
! "() -> (ThemeCheckBoxStyle outStyle)"},
{"UseThemeFont", (PyCFunction)App_UseThemeFont, 1,
! "(ThemeFontID inFontID, ScriptCode inScript) -> None"},
#if TARGET_API_MAC_CARBON
{"DrawThemeTextBox", (PyCFunction)App_DrawThemeTextBox, 1,
! "(CFStringRef inString, ThemeFontID inFontID, ThemeDrawState inState, Boolean inWrapToWidth, Rect inBoundingBox, SInt16 inJust) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"TruncateThemeText", (PyCFunction)App_TruncateThemeText, 1,
! "(CFMutableStringRef inString, ThemeFontID inFontID, ThemeDrawState inState, SInt16 inPixelWidthLimit, TruncCode inTruncWhere) -> (Boolean outTruncated)"},
#endif
#if TARGET_API_MAC_CARBON
{"GetThemeTextDimensions", (PyCFunction)App_GetThemeTextDimensions, 1,
! "(CFStringRef inString, ThemeFontID inFontID, ThemeDrawState inState, Boolean inWrapToWidth, Point ioBounds) -> (Point ioBounds, SInt16 outBaseline)"},
#endif
#if TARGET_API_MAC_CARBON
{"GetThemeTextShadowOutset", (PyCFunction)App_GetThemeTextShadowOutset, 1,
! "(ThemeFontID inFontID, ThemeDrawState inState) -> (Rect outOutset)"},
#endif
{"DrawThemeScrollBarArrows", (PyCFunction)App_DrawThemeScrollBarArrows, 1,
! "(Rect bounds, ThemeTrackEnableState enableState, ThemeTrackPressState pressState, Boolean isHoriz) -> (Rect trackBounds)"},
{"GetThemeScrollBarTrackRect", (PyCFunction)App_GetThemeScrollBarTrackRect, 1,
! "(Rect bounds, ThemeTrackEnableState enableState, ThemeTrackPressState pressState, Boolean isHoriz) -> (Rect trackBounds)"},
{"HitTestThemeScrollBarArrows", (PyCFunction)App_HitTestThemeScrollBarArrows, 1,
! "(Rect scrollBarBounds, ThemeTrackEnableState enableState, ThemeTrackPressState pressState, Boolean isHoriz, Point ptHit) -> (Boolean _rv, Rect trackBounds, ControlPartCode partcode)"},
{"DrawThemeScrollBarDelimiters", (PyCFunction)App_DrawThemeScrollBarDelimiters, 1,
! "(ThemeWindowType flavor, Rect inContRect, ThemeDrawState state, ThemeWindowAttributes attributes) -> None"},
{"DrawThemeButton", (PyCFunction)App_DrawThemeButton, 1,
! "(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inNewInfo, ThemeButtonDrawInfo inPrevInfo, UInt32 inUserData) -> None"},
{"GetThemeButtonRegion", (PyCFunction)App_GetThemeButtonRegion, 1,
! "(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inNewInfo) -> None"},
{"GetThemeButtonContentBounds", (PyCFunction)App_GetThemeButtonContentBounds, 1,
! "(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inDrawInfo) -> (Rect outBounds)"},
{"GetThemeButtonBackgroundBounds", (PyCFunction)App_GetThemeButtonBackgroundBounds, 1,
! "(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inDrawInfo) -> (Rect outBounds)"},
{"PlayThemeSound", (PyCFunction)App_PlayThemeSound, 1,
! "(ThemeSoundKind kind) -> None"},
{"BeginThemeDragSound", (PyCFunction)App_BeginThemeDragSound, 1,
! "(ThemeDragSoundKind kind) -> None"},
{"EndThemeDragSound", (PyCFunction)App_EndThemeDragSound, 1,
! "() -> None"},
{"DrawThemeTickMark", (PyCFunction)App_DrawThemeTickMark, 1,
! "(Rect bounds, ThemeDrawState state) -> None"},
{"DrawThemeChasingArrows", (PyCFunction)App_DrawThemeChasingArrows, 1,
! "(Rect bounds, UInt32 index, ThemeDrawState state, UInt32 eraseData) -> None"},
{"DrawThemePopupArrow", (PyCFunction)App_DrawThemePopupArrow, 1,
! "(Rect bounds, ThemeArrowOrientation orientation, ThemePopupArrowSize size, ThemeDrawState state, UInt32 eraseData) -> None"},
{"DrawThemeStandaloneGrowBox", (PyCFunction)App_DrawThemeStandaloneGrowBox, 1,
! "(Point origin, ThemeGrowDirection growDirection, Boolean isSmall, ThemeDrawState state) -> None"},
{"DrawThemeStandaloneNoGrowBox", (PyCFunction)App_DrawThemeStandaloneNoGrowBox, 1,
! "(Point origin, ThemeGrowDirection growDirection, Boolean isSmall, ThemeDrawState state) -> None"},
{"GetThemeStandaloneGrowBoxBounds", (PyCFunction)App_GetThemeStandaloneGrowBoxBounds, 1,
! "(Point origin, ThemeGrowDirection growDirection, Boolean isSmall) -> (Rect bounds)"},
{"NormalizeThemeDrawingState", (PyCFunction)App_NormalizeThemeDrawingState, 1,
! "() -> None"},
{"GetThemeDrawingState", (PyCFunction)App_GetThemeDrawingState, 1,
! "() -> (ThemeDrawingState outState)"},
{"ApplyThemeBackground", (PyCFunction)App_ApplyThemeBackground, 1,
! "(ThemeBackgroundKind inKind, Rect bounds, ThemeDrawState inState, SInt16 inDepth, Boolean inColorDev) -> None"},
{"SetThemeTextColorForWindow", (PyCFunction)App_SetThemeTextColorForWindow, 1,
! "(WindowPtr window, Boolean isActive, SInt16 depth, Boolean isColorDev) -> None"},
{"IsValidAppearanceFileType", (PyCFunction)App_IsValidAppearanceFileType, 1,
! "(OSType fileType) -> (Boolean _rv)"},
{"GetThemeBrushAsColor", (PyCFunction)App_GetThemeBrushAsColor, 1,
! "(ThemeBrush inBrush, SInt16 inDepth, Boolean inColorDev) -> (RGBColor outColor)"},
{"GetThemeTextColor", (PyCFunction)App_GetThemeTextColor, 1,
! "(ThemeTextColor inColor, SInt16 inDepth, Boolean inColorDev) -> (RGBColor outColor)"},
#if TARGET_API_MAC_CARBON
{"GetThemeMetric", (PyCFunction)App_GetThemeMetric, 1,
! "(ThemeMetric inMetric) -> (SInt32 outMetric)"},
#endif
{NULL, NULL, 0}
--- 1647,1793 ----
static PyMethodDef App_methods[] = {
{"RegisterAppearanceClient", (PyCFunction)App_RegisterAppearanceClient, 1,
! PyDoc_STR("() -> None")},
{"UnregisterAppearanceClient", (PyCFunction)App_UnregisterAppearanceClient, 1,
! PyDoc_STR("() -> None")},
{"SetThemePen", (PyCFunction)App_SetThemePen, 1,
! PyDoc_STR("(ThemeBrush inBrush, SInt16 inDepth, Boolean inIsColorDevice) -> None")},
{"SetThemeBackground", (PyCFunction)App_SetThemeBackground, 1,
! PyDoc_STR("(ThemeBrush inBrush, SInt16 inDepth, Boolean inIsColorDevice) -> None")},
{"SetThemeTextColor", (PyCFunction)App_SetThemeTextColor, 1,
! PyDoc_STR("(ThemeTextColor inColor, SInt16 inDepth, Boolean inIsColorDevice) -> None")},
{"SetThemeWindowBackground", (PyCFunction)App_SetThemeWindowBackground, 1,
! PyDoc_STR("(WindowPtr inWindow, ThemeBrush inBrush, Boolean inUpdate) -> None")},
{"DrawThemeWindowHeader", (PyCFunction)App_DrawThemeWindowHeader, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeWindowListViewHeader", (PyCFunction)App_DrawThemeWindowListViewHeader, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemePlacard", (PyCFunction)App_DrawThemePlacard, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeEditTextFrame", (PyCFunction)App_DrawThemeEditTextFrame, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeListBoxFrame", (PyCFunction)App_DrawThemeListBoxFrame, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeFocusRect", (PyCFunction)App_DrawThemeFocusRect, 1,
! PyDoc_STR("(Rect inRect, Boolean inHasFocus) -> None")},
{"DrawThemePrimaryGroup", (PyCFunction)App_DrawThemePrimaryGroup, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeSecondaryGroup", (PyCFunction)App_DrawThemeSecondaryGroup, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeSeparator", (PyCFunction)App_DrawThemeSeparator, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeModelessDialogFrame", (PyCFunction)App_DrawThemeModelessDialogFrame, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeGenericWell", (PyCFunction)App_DrawThemeGenericWell, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState, Boolean inFillCenter) -> None")},
{"DrawThemeFocusRegion", (PyCFunction)App_DrawThemeFocusRegion, 1,
! PyDoc_STR("(Boolean inHasFocus) -> None")},
{"IsThemeInColor", (PyCFunction)App_IsThemeInColor, 1,
! PyDoc_STR("(SInt16 inDepth, Boolean inIsColorDevice) -> (Boolean _rv)")},
{"GetThemeAccentColors", (PyCFunction)App_GetThemeAccentColors, 1,
! PyDoc_STR("() -> (CTabHandle outColors)")},
{"DrawThemeMenuBarBackground", (PyCFunction)App_DrawThemeMenuBarBackground, 1,
! PyDoc_STR("(Rect inBounds, ThemeMenuBarState inState, UInt32 inAttributes) -> None")},
{"GetThemeMenuBarHeight", (PyCFunction)App_GetThemeMenuBarHeight, 1,
! PyDoc_STR("() -> (SInt16 outHeight)")},
{"DrawThemeMenuBackground", (PyCFunction)App_DrawThemeMenuBackground, 1,
! PyDoc_STR("(Rect inMenuRect, ThemeMenuType inMenuType) -> None")},
{"GetThemeMenuBackgroundRegion", (PyCFunction)App_GetThemeMenuBackgroundRegion, 1,
! PyDoc_STR("(Rect inMenuRect, ThemeMenuType menuType) -> None")},
{"DrawThemeMenuSeparator", (PyCFunction)App_DrawThemeMenuSeparator, 1,
! PyDoc_STR("(Rect inItemRect) -> None")},
{"GetThemeMenuSeparatorHeight", (PyCFunction)App_GetThemeMenuSeparatorHeight, 1,
! PyDoc_STR("() -> (SInt16 outHeight)")},
{"GetThemeMenuItemExtra", (PyCFunction)App_GetThemeMenuItemExtra, 1,
! PyDoc_STR("(ThemeMenuItemType inItemType) -> (SInt16 outHeight, SInt16 outWidth)")},
{"GetThemeMenuTitleExtra", (PyCFunction)App_GetThemeMenuTitleExtra, 1,
! PyDoc_STR("(Boolean inIsSquished) -> (SInt16 outWidth)")},
{"DrawThemeTabPane", (PyCFunction)App_DrawThemeTabPane, 1,
! PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"GetThemeTabRegion", (PyCFunction)App_GetThemeTabRegion, 1,
! PyDoc_STR("(Rect inRect, ThemeTabStyle inStyle, ThemeTabDirection inDirection) -> None")},
{"SetThemeCursor", (PyCFunction)App_SetThemeCursor, 1,
! PyDoc_STR("(ThemeCursor inCursor) -> None")},
{"SetAnimatedThemeCursor", (PyCFunction)App_SetAnimatedThemeCursor, 1,
! PyDoc_STR("(ThemeCursor inCursor, UInt32 inAnimationStep) -> None")},
{"GetThemeScrollBarThumbStyle", (PyCFunction)App_GetThemeScrollBarThumbStyle, 1,
! PyDoc_STR("() -> (ThemeScrollBarThumbStyle outStyle)")},
{"GetThemeScrollBarArrowStyle", (PyCFunction)App_GetThemeScrollBarArrowStyle, 1,
! PyDoc_STR("() -> (ThemeScrollBarArrowStyle outStyle)")},
{"GetThemeCheckBoxStyle", (PyCFunction)App_GetThemeCheckBoxStyle, 1,
! PyDoc_STR("() -> (ThemeCheckBoxStyle outStyle)")},
{"UseThemeFont", (PyCFunction)App_UseThemeFont, 1,
! PyDoc_STR("(ThemeFontID inFontID, ScriptCode inScript) -> None")},
#if TARGET_API_MAC_CARBON
{"DrawThemeTextBox", (PyCFunction)App_DrawThemeTextBox, 1,
! PyDoc_STR("(CFStringRef inString, ThemeFontID inFontID, ThemeDrawState inState, Boolean inWrapToWidth, Rect inBoundingBox, SInt16 inJust) -> None")},
#endif
#if TARGET_API_MAC_CARBON
{"TruncateThemeText", (PyCFunction)App_TruncateThemeText, 1,
! PyDoc_STR("(CFMutableStringRef inString, ThemeFontID inFontID, ThemeDrawState inState, SInt16 inPixelWidthLimit, TruncCode inTruncWhere) -> (Boolean outTruncated)")},
#endif
#if TARGET_API_MAC_CARBON
{"GetThemeTextDimensions", (PyCFunction)App_GetThemeTextDimensions, 1,
! PyDoc_STR("(CFStringRef inString, ThemeFontID inFontID, ThemeDrawState inState, Boolean inWrapToWidth, Point ioBounds) -> (Point ioBounds, SInt16 outBaseline)")},
#endif
#if TARGET_API_MAC_CARBON
{"GetThemeTextShadowOutset", (PyCFunction)App_GetThemeTextShadowOutset, 1,
! PyDoc_STR("(ThemeFontID inFontID, ThemeDrawState inState) -> (Rect outOutset)")},
#endif
{"DrawThemeScrollBarArrows", (PyCFunction)App_DrawThemeScrollBarArrows, 1,
! PyDoc_STR("(Rect bounds, ThemeTrackEnableState enableState, ThemeTrackPressState pressState, Boolean isHoriz) -> (Rect trackBounds)")},
{"GetThemeScrollBarTrackRect", (PyCFunction)App_GetThemeScrollBarTrackRect, 1,
! PyDoc_STR("(Rect bounds, ThemeTrackEnableState enableState, ThemeTrackPressState pressState, Boolean isHoriz) -> (Rect trackBounds)")},
{"HitTestThemeScrollBarArrows", (PyCFunction)App_HitTestThemeScrollBarArrows, 1,
! PyDoc_STR("(Rect scrollBarBounds, ThemeTrackEnableState enableState, ThemeTrackPressState pressState, Boolean isHoriz, Point ptHit) -> (Boolean _rv, Rect trackBounds, ControlPartCode partcode)")},
{"DrawThemeScrollBarDelimiters", (PyCFunction)App_DrawThemeScrollBarDelimiters, 1,
! PyDoc_STR("(ThemeWindowType flavor, Rect inContRect, ThemeDrawState state, ThemeWindowAttributes attributes) -> None")},
{"DrawThemeButton", (PyCFunction)App_DrawThemeButton, 1,
! PyDoc_STR("(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inNewInfo, ThemeButtonDrawInfo inPrevInfo, UInt32 inUserData) -> None")},
{"GetThemeButtonRegion", (PyCFunction)App_GetThemeButtonRegion, 1,
! PyDoc_STR("(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inNewInfo) -> None")},
{"GetThemeButtonContentBounds", (PyCFunction)App_GetThemeButtonContentBounds, 1,
! PyDoc_STR("(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inDrawInfo) -> (Rect outBounds)")},
{"GetThemeButtonBackgroundBounds", (PyCFunction)App_GetThemeButtonBackgroundBounds, 1,
! PyDoc_STR("(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inDrawInfo) -> (Rect outBounds)")},
{"PlayThemeSound", (PyCFunction)App_PlayThemeSound, 1,
! PyDoc_STR("(ThemeSoundKind kind) -> None")},
{"BeginThemeDragSound", (PyCFunction)App_BeginThemeDragSound, 1,
! PyDoc_STR("(ThemeDragSoundKind kind) -> None")},
{"EndThemeDragSound", (PyCFunction)App_EndThemeDragSound, 1,
! PyDoc_STR("() -> None")},
{"DrawThemeTickMark", (PyCFunction)App_DrawThemeTickMark, 1,
! PyDoc_STR("(Rect bounds, ThemeDrawState state) -> None")},
{"DrawThemeChasingArrows", (PyCFunction)App_DrawThemeChasingArrows, 1,
! PyDoc_STR("(Rect bounds, UInt32 index, ThemeDrawState state, UInt32 eraseData) -> None")},
{"DrawThemePopupArrow", (PyCFunction)App_DrawThemePopupArrow, 1,
! PyDoc_STR("(Rect bounds, ThemeArrowOrientation orientation, ThemePopupArrowSize size, ThemeDrawState state, UInt32 eraseData) -> None")},
{"DrawThemeStandaloneGrowBox", (PyCFunction)App_DrawThemeStandaloneGrowBox, 1,
! PyDoc_STR("(Point origin, ThemeGrowDirection growDirection, Boolean isSmall, ThemeDrawState state) -> None")},
{"DrawThemeStandaloneNoGrowBox", (PyCFunction)App_DrawThemeStandaloneNoGrowBox, 1,
! PyDoc_STR("(Point origin, ThemeGrowDirection growDirection, Boolean isSmall, ThemeDrawState state) -> None")},
{"GetThemeStandaloneGrowBoxBounds", (PyCFunction)App_GetThemeStandaloneGrowBoxBounds, 1,
! PyDoc_STR("(Point origin, ThemeGrowDirection growDirection, Boolean isSmall) -> (Rect bounds)")},
{"NormalizeThemeDrawingState", (PyCFunction)App_NormalizeThemeDrawingState, 1,
! PyDoc_STR("() -> None")},
{"GetThemeDrawingState", (PyCFunction)App_GetThemeDrawingState, 1,
! PyDoc_STR("() -> (ThemeDrawingState outState)")},
{"ApplyThemeBackground", (PyCFunction)App_ApplyThemeBackground, 1,
! PyDoc_STR("(ThemeBackgroundKind inKind, Rect bounds, ThemeDrawState inState, SInt16 inDepth, Boolean inColorDev) -> None")},
{"SetThemeTextColorForWindow", (PyCFunction)App_SetThemeTextColorForWindow, 1,
! PyDoc_STR("(WindowPtr window, Boolean isActive, SInt16 depth, Boolean isColorDev) -> None")},
{"IsValidAppearanceFileType", (PyCFunction)App_IsValidAppearanceFileType, 1,
! PyDoc_STR("(OSType fileType) -> (Boolean _rv)")},
{"GetThemeBrushAsColor", (PyCFunction)App_GetThemeBrushAsColor, 1,
! PyDoc_STR("(ThemeBrush inBrush, SInt16 inDepth, Boolean inColorDev) -> (RGBColor outColor)")},
{"GetThemeTextColor", (PyCFunction)App_GetThemeTextColor, 1,
! PyDoc_STR("(ThemeTextColor inColor, SInt16 inDepth, Boolean inColorDev) -> (RGBColor outColor)")},
#if TARGET_API_MAC_CARBON
{"GetThemeMetric", (PyCFunction)App_GetThemeMetric, 1,
! PyDoc_STR("(ThemeMetric inMetric) -> (SInt32 outMetric)")},
#endif
{NULL, NULL, 0}