summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/app
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-16 09:09:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-16 09:09:31 (GMT)
commit49931887d7e135190fbcf0119e03419a7101ff7c (patch)
treec32d8d0ddf92ede69e1430361e0434d81de50318 /Mac/Modules/app
parent44b99e0a1f6166ea05e7327c56dda601e017d401 (diff)
downloadcpython-49931887d7e135190fbcf0119e03419a7101ff7c.zip
cpython-49931887d7e135190fbcf0119e03419a7101ff7c.tar.gz
cpython-49931887d7e135190fbcf0119e03419a7101ff7c.tar.bz2
Regenerated with PyDoc_STR() around docstrings.
Diffstat (limited to 'Mac/Modules/app')
-rw-r--r--Mac/Modules/app/_Appmodule.c134
1 files changed, 67 insertions, 67 deletions
diff --git a/Mac/Modules/app/_Appmodule.c b/Mac/Modules/app/_Appmodule.c
index d853927..e5362c9 100644
--- a/Mac/Modules/app/_Appmodule.c
+++ b/Mac/Modules/app/_Appmodule.c
@@ -107,9 +107,9 @@ static PyObject *ThemeDrawingStateObj_DisposeThemeDrawingState(ThemeDrawingState
static PyMethodDef ThemeDrawingStateObj_methods[] = {
{"SetThemeDrawingState", (PyCFunction)ThemeDrawingStateObj_SetThemeDrawingState, 1,
- "(Boolean inDisposeNow) -> (OSStatus _rv)"},
+ PyDoc_STR("(Boolean inDisposeNow) -> (OSStatus _rv)")},
{"DisposeThemeDrawingState", (PyCFunction)ThemeDrawingStateObj_DisposeThemeDrawingState, 1,
- "() -> (OSStatus _rv)"},
+ PyDoc_STR("() -> (OSStatus _rv)")},
{NULL, NULL, 0}
};
@@ -1646,149 +1646,149 @@ static PyObject *App_GetThemeMetric(PyObject *_self, PyObject *_args)
static PyMethodDef App_methods[] = {
{"RegisterAppearanceClient", (PyCFunction)App_RegisterAppearanceClient, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"UnregisterAppearanceClient", (PyCFunction)App_UnregisterAppearanceClient, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"SetThemePen", (PyCFunction)App_SetThemePen, 1,
- "(ThemeBrush inBrush, SInt16 inDepth, Boolean inIsColorDevice) -> None"},
+ PyDoc_STR("(ThemeBrush inBrush, SInt16 inDepth, Boolean inIsColorDevice) -> None")},
{"SetThemeBackground", (PyCFunction)App_SetThemeBackground, 1,
- "(ThemeBrush inBrush, SInt16 inDepth, Boolean inIsColorDevice) -> None"},
+ PyDoc_STR("(ThemeBrush inBrush, SInt16 inDepth, Boolean inIsColorDevice) -> None")},
{"SetThemeTextColor", (PyCFunction)App_SetThemeTextColor, 1,
- "(ThemeTextColor inColor, SInt16 inDepth, Boolean inIsColorDevice) -> None"},
+ PyDoc_STR("(ThemeTextColor inColor, SInt16 inDepth, Boolean inIsColorDevice) -> None")},
{"SetThemeWindowBackground", (PyCFunction)App_SetThemeWindowBackground, 1,
- "(WindowPtr inWindow, ThemeBrush inBrush, Boolean inUpdate) -> None"},
+ PyDoc_STR("(WindowPtr inWindow, ThemeBrush inBrush, Boolean inUpdate) -> None")},
{"DrawThemeWindowHeader", (PyCFunction)App_DrawThemeWindowHeader, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeWindowListViewHeader", (PyCFunction)App_DrawThemeWindowListViewHeader, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemePlacard", (PyCFunction)App_DrawThemePlacard, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeEditTextFrame", (PyCFunction)App_DrawThemeEditTextFrame, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeListBoxFrame", (PyCFunction)App_DrawThemeListBoxFrame, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeFocusRect", (PyCFunction)App_DrawThemeFocusRect, 1,
- "(Rect inRect, Boolean inHasFocus) -> None"},
+ PyDoc_STR("(Rect inRect, Boolean inHasFocus) -> None")},
{"DrawThemePrimaryGroup", (PyCFunction)App_DrawThemePrimaryGroup, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeSecondaryGroup", (PyCFunction)App_DrawThemeSecondaryGroup, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeSeparator", (PyCFunction)App_DrawThemeSeparator, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeModelessDialogFrame", (PyCFunction)App_DrawThemeModelessDialogFrame, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"DrawThemeGenericWell", (PyCFunction)App_DrawThemeGenericWell, 1,
- "(Rect inRect, ThemeDrawState inState, Boolean inFillCenter) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState, Boolean inFillCenter) -> None")},
{"DrawThemeFocusRegion", (PyCFunction)App_DrawThemeFocusRegion, 1,
- "(Boolean inHasFocus) -> None"},
+ PyDoc_STR("(Boolean inHasFocus) -> None")},
{"IsThemeInColor", (PyCFunction)App_IsThemeInColor, 1,
- "(SInt16 inDepth, Boolean inIsColorDevice) -> (Boolean _rv)"},
+ PyDoc_STR("(SInt16 inDepth, Boolean inIsColorDevice) -> (Boolean _rv)")},
{"GetThemeAccentColors", (PyCFunction)App_GetThemeAccentColors, 1,
- "() -> (CTabHandle outColors)"},
+ PyDoc_STR("() -> (CTabHandle outColors)")},
{"DrawThemeMenuBarBackground", (PyCFunction)App_DrawThemeMenuBarBackground, 1,
- "(Rect inBounds, ThemeMenuBarState inState, UInt32 inAttributes) -> None"},
+ PyDoc_STR("(Rect inBounds, ThemeMenuBarState inState, UInt32 inAttributes) -> None")},
{"GetThemeMenuBarHeight", (PyCFunction)App_GetThemeMenuBarHeight, 1,
- "() -> (SInt16 outHeight)"},
+ PyDoc_STR("() -> (SInt16 outHeight)")},
{"DrawThemeMenuBackground", (PyCFunction)App_DrawThemeMenuBackground, 1,
- "(Rect inMenuRect, ThemeMenuType inMenuType) -> None"},
+ PyDoc_STR("(Rect inMenuRect, ThemeMenuType inMenuType) -> None")},
{"GetThemeMenuBackgroundRegion", (PyCFunction)App_GetThemeMenuBackgroundRegion, 1,
- "(Rect inMenuRect, ThemeMenuType menuType) -> None"},
+ PyDoc_STR("(Rect inMenuRect, ThemeMenuType menuType) -> None")},
{"DrawThemeMenuSeparator", (PyCFunction)App_DrawThemeMenuSeparator, 1,
- "(Rect inItemRect) -> None"},
+ PyDoc_STR("(Rect inItemRect) -> None")},
{"GetThemeMenuSeparatorHeight", (PyCFunction)App_GetThemeMenuSeparatorHeight, 1,
- "() -> (SInt16 outHeight)"},
+ PyDoc_STR("() -> (SInt16 outHeight)")},
{"GetThemeMenuItemExtra", (PyCFunction)App_GetThemeMenuItemExtra, 1,
- "(ThemeMenuItemType inItemType) -> (SInt16 outHeight, SInt16 outWidth)"},
+ PyDoc_STR("(ThemeMenuItemType inItemType) -> (SInt16 outHeight, SInt16 outWidth)")},
{"GetThemeMenuTitleExtra", (PyCFunction)App_GetThemeMenuTitleExtra, 1,
- "(Boolean inIsSquished) -> (SInt16 outWidth)"},
+ PyDoc_STR("(Boolean inIsSquished) -> (SInt16 outWidth)")},
{"DrawThemeTabPane", (PyCFunction)App_DrawThemeTabPane, 1,
- "(Rect inRect, ThemeDrawState inState) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeDrawState inState) -> None")},
{"GetThemeTabRegion", (PyCFunction)App_GetThemeTabRegion, 1,
- "(Rect inRect, ThemeTabStyle inStyle, ThemeTabDirection inDirection) -> None"},
+ PyDoc_STR("(Rect inRect, ThemeTabStyle inStyle, ThemeTabDirection inDirection) -> None")},
{"SetThemeCursor", (PyCFunction)App_SetThemeCursor, 1,
- "(ThemeCursor inCursor) -> None"},
+ PyDoc_STR("(ThemeCursor inCursor) -> None")},
{"SetAnimatedThemeCursor", (PyCFunction)App_SetAnimatedThemeCursor, 1,
- "(ThemeCursor inCursor, UInt32 inAnimationStep) -> None"},
+ PyDoc_STR("(ThemeCursor inCursor, UInt32 inAnimationStep) -> None")},
{"GetThemeScrollBarThumbStyle", (PyCFunction)App_GetThemeScrollBarThumbStyle, 1,
- "() -> (ThemeScrollBarThumbStyle outStyle)"},
+ PyDoc_STR("() -> (ThemeScrollBarThumbStyle outStyle)")},
{"GetThemeScrollBarArrowStyle", (PyCFunction)App_GetThemeScrollBarArrowStyle, 1,
- "() -> (ThemeScrollBarArrowStyle outStyle)"},
+ PyDoc_STR("() -> (ThemeScrollBarArrowStyle outStyle)")},
{"GetThemeCheckBoxStyle", (PyCFunction)App_GetThemeCheckBoxStyle, 1,
- "() -> (ThemeCheckBoxStyle outStyle)"},
+ PyDoc_STR("() -> (ThemeCheckBoxStyle outStyle)")},
{"UseThemeFont", (PyCFunction)App_UseThemeFont, 1,
- "(ThemeFontID inFontID, ScriptCode inScript) -> None"},
+ PyDoc_STR("(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"},
+ 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,
- "(CFMutableStringRef inString, ThemeFontID inFontID, ThemeDrawState inState, SInt16 inPixelWidthLimit, TruncCode inTruncWhere) -> (Boolean outTruncated)"},
+ 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,
- "(CFStringRef inString, ThemeFontID inFontID, ThemeDrawState inState, Boolean inWrapToWidth, Point ioBounds) -> (Point ioBounds, SInt16 outBaseline)"},
+ 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,
- "(ThemeFontID inFontID, ThemeDrawState inState) -> (Rect outOutset)"},
+ PyDoc_STR("(ThemeFontID inFontID, ThemeDrawState inState) -> (Rect outOutset)")},
#endif
{"DrawThemeScrollBarArrows", (PyCFunction)App_DrawThemeScrollBarArrows, 1,
- "(Rect bounds, ThemeTrackEnableState enableState, ThemeTrackPressState pressState, Boolean isHoriz) -> (Rect trackBounds)"},
+ PyDoc_STR("(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)"},
+ PyDoc_STR("(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)"},
+ PyDoc_STR("(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"},
+ PyDoc_STR("(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"},
+ PyDoc_STR("(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inNewInfo, ThemeButtonDrawInfo inPrevInfo, UInt32 inUserData) -> None")},
{"GetThemeButtonRegion", (PyCFunction)App_GetThemeButtonRegion, 1,
- "(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inNewInfo) -> None"},
+ PyDoc_STR("(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inNewInfo) -> None")},
{"GetThemeButtonContentBounds", (PyCFunction)App_GetThemeButtonContentBounds, 1,
- "(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inDrawInfo) -> (Rect outBounds)"},
+ PyDoc_STR("(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inDrawInfo) -> (Rect outBounds)")},
{"GetThemeButtonBackgroundBounds", (PyCFunction)App_GetThemeButtonBackgroundBounds, 1,
- "(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inDrawInfo) -> (Rect outBounds)"},
+ PyDoc_STR("(Rect inBounds, UInt16 inKind, ThemeButtonDrawInfo inDrawInfo) -> (Rect outBounds)")},
{"PlayThemeSound", (PyCFunction)App_PlayThemeSound, 1,
- "(ThemeSoundKind kind) -> None"},
+ PyDoc_STR("(ThemeSoundKind kind) -> None")},
{"BeginThemeDragSound", (PyCFunction)App_BeginThemeDragSound, 1,
- "(ThemeDragSoundKind kind) -> None"},
+ PyDoc_STR("(ThemeDragSoundKind kind) -> None")},
{"EndThemeDragSound", (PyCFunction)App_EndThemeDragSound, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"DrawThemeTickMark", (PyCFunction)App_DrawThemeTickMark, 1,
- "(Rect bounds, ThemeDrawState state) -> None"},
+ PyDoc_STR("(Rect bounds, ThemeDrawState state) -> None")},
{"DrawThemeChasingArrows", (PyCFunction)App_DrawThemeChasingArrows, 1,
- "(Rect bounds, UInt32 index, ThemeDrawState state, UInt32 eraseData) -> None"},
+ PyDoc_STR("(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"},
+ PyDoc_STR("(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"},
+ PyDoc_STR("(Point origin, ThemeGrowDirection growDirection, Boolean isSmall, ThemeDrawState state) -> None")},
{"DrawThemeStandaloneNoGrowBox", (PyCFunction)App_DrawThemeStandaloneNoGrowBox, 1,
- "(Point origin, ThemeGrowDirection growDirection, Boolean isSmall, ThemeDrawState state) -> None"},
+ PyDoc_STR("(Point origin, ThemeGrowDirection growDirection, Boolean isSmall, ThemeDrawState state) -> None")},
{"GetThemeStandaloneGrowBoxBounds", (PyCFunction)App_GetThemeStandaloneGrowBoxBounds, 1,
- "(Point origin, ThemeGrowDirection growDirection, Boolean isSmall) -> (Rect bounds)"},
+ PyDoc_STR("(Point origin, ThemeGrowDirection growDirection, Boolean isSmall) -> (Rect bounds)")},
{"NormalizeThemeDrawingState", (PyCFunction)App_NormalizeThemeDrawingState, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"GetThemeDrawingState", (PyCFunction)App_GetThemeDrawingState, 1,
- "() -> (ThemeDrawingState outState)"},
+ PyDoc_STR("() -> (ThemeDrawingState outState)")},
{"ApplyThemeBackground", (PyCFunction)App_ApplyThemeBackground, 1,
- "(ThemeBackgroundKind inKind, Rect bounds, ThemeDrawState inState, SInt16 inDepth, Boolean inColorDev) -> None"},
+ PyDoc_STR("(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"},
+ PyDoc_STR("(WindowPtr window, Boolean isActive, SInt16 depth, Boolean isColorDev) -> None")},
{"IsValidAppearanceFileType", (PyCFunction)App_IsValidAppearanceFileType, 1,
- "(OSType fileType) -> (Boolean _rv)"},
+ PyDoc_STR("(OSType fileType) -> (Boolean _rv)")},
{"GetThemeBrushAsColor", (PyCFunction)App_GetThemeBrushAsColor, 1,
- "(ThemeBrush inBrush, SInt16 inDepth, Boolean inColorDev) -> (RGBColor outColor)"},
+ PyDoc_STR("(ThemeBrush inBrush, SInt16 inDepth, Boolean inColorDev) -> (RGBColor outColor)")},
{"GetThemeTextColor", (PyCFunction)App_GetThemeTextColor, 1,
- "(ThemeTextColor inColor, SInt16 inDepth, Boolean inColorDev) -> (RGBColor outColor)"},
+ PyDoc_STR("(ThemeTextColor inColor, SInt16 inDepth, Boolean inColorDev) -> (RGBColor outColor)")},
#if TARGET_API_MAC_CARBON
{"GetThemeMetric", (PyCFunction)App_GetThemeMetric, 1,
- "(ThemeMetric inMetric) -> (SInt32 outMetric)"},
+ PyDoc_STR("(ThemeMetric inMetric) -> (SInt32 outMetric)")},
#endif
{NULL, NULL, 0}
};