mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Regenerated with PyDoc_STR() around docstrings.
This commit is contained in:
parent
44b99e0a1f
commit
49931887d7
23 changed files with 2151 additions and 2151 deletions
|
@ -684,59 +684,59 @@ static PyObject *DragObj_UpdateDragHilite(DragObjObject *_self, PyObject *_args)
|
|||
|
||||
static PyMethodDef DragObj_methods[] = {
|
||||
{"DisposeDrag", (PyCFunction)DragObj_DisposeDrag, 1,
|
||||
"() -> None"},
|
||||
PyDoc_STR("() -> None")},
|
||||
{"AddDragItemFlavor", (PyCFunction)DragObj_AddDragItemFlavor, 1,
|
||||
"(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, FlavorFlags theFlags) -> None"},
|
||||
PyDoc_STR("(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, FlavorFlags theFlags) -> None")},
|
||||
{"SetDragItemFlavorData", (PyCFunction)DragObj_SetDragItemFlavorData, 1,
|
||||
"(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, UInt32 dataOffset) -> None"},
|
||||
PyDoc_STR("(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, UInt32 dataOffset) -> None")},
|
||||
{"SetDragImage", (PyCFunction)DragObj_SetDragImage, 1,
|
||||
"(PixMapHandle imagePixMap, RgnHandle imageRgn, Point imageOffsetPt, DragImageFlags theImageFlags) -> None"},
|
||||
PyDoc_STR("(PixMapHandle imagePixMap, RgnHandle imageRgn, Point imageOffsetPt, DragImageFlags theImageFlags) -> None")},
|
||||
{"ChangeDragBehaviors", (PyCFunction)DragObj_ChangeDragBehaviors, 1,
|
||||
"(DragBehaviors inBehaviorsToSet, DragBehaviors inBehaviorsToClear) -> None"},
|
||||
PyDoc_STR("(DragBehaviors inBehaviorsToSet, DragBehaviors inBehaviorsToClear) -> None")},
|
||||
{"TrackDrag", (PyCFunction)DragObj_TrackDrag, 1,
|
||||
"(EventRecord theEvent, RgnHandle theRegion) -> None"},
|
||||
PyDoc_STR("(EventRecord theEvent, RgnHandle theRegion) -> None")},
|
||||
{"CountDragItems", (PyCFunction)DragObj_CountDragItems, 1,
|
||||
"() -> (UInt16 numItems)"},
|
||||
PyDoc_STR("() -> (UInt16 numItems)")},
|
||||
{"GetDragItemReferenceNumber", (PyCFunction)DragObj_GetDragItemReferenceNumber, 1,
|
||||
"(UInt16 index) -> (ItemReference theItemRef)"},
|
||||
PyDoc_STR("(UInt16 index) -> (ItemReference theItemRef)")},
|
||||
{"CountDragItemFlavors", (PyCFunction)DragObj_CountDragItemFlavors, 1,
|
||||
"(ItemReference theItemRef) -> (UInt16 numFlavors)"},
|
||||
PyDoc_STR("(ItemReference theItemRef) -> (UInt16 numFlavors)")},
|
||||
{"GetFlavorType", (PyCFunction)DragObj_GetFlavorType, 1,
|
||||
"(ItemReference theItemRef, UInt16 index) -> (FlavorType theType)"},
|
||||
PyDoc_STR("(ItemReference theItemRef, UInt16 index) -> (FlavorType theType)")},
|
||||
{"GetFlavorFlags", (PyCFunction)DragObj_GetFlavorFlags, 1,
|
||||
"(ItemReference theItemRef, FlavorType theType) -> (FlavorFlags theFlags)"},
|
||||
PyDoc_STR("(ItemReference theItemRef, FlavorType theType) -> (FlavorFlags theFlags)")},
|
||||
{"GetFlavorDataSize", (PyCFunction)DragObj_GetFlavorDataSize, 1,
|
||||
"(ItemReference theItemRef, FlavorType theType) -> (Size dataSize)"},
|
||||
PyDoc_STR("(ItemReference theItemRef, FlavorType theType) -> (Size dataSize)")},
|
||||
{"GetFlavorData", (PyCFunction)DragObj_GetFlavorData, 1,
|
||||
"(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, UInt32 dataOffset) -> (Buffer dataPtr)"},
|
||||
PyDoc_STR("(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, UInt32 dataOffset) -> (Buffer dataPtr)")},
|
||||
{"GetDragItemBounds", (PyCFunction)DragObj_GetDragItemBounds, 1,
|
||||
"(ItemReference theItemRef) -> (Rect itemBounds)"},
|
||||
PyDoc_STR("(ItemReference theItemRef) -> (Rect itemBounds)")},
|
||||
{"SetDragItemBounds", (PyCFunction)DragObj_SetDragItemBounds, 1,
|
||||
"(ItemReference theItemRef, Rect itemBounds) -> None"},
|
||||
PyDoc_STR("(ItemReference theItemRef, Rect itemBounds) -> None")},
|
||||
{"GetDropLocation", (PyCFunction)DragObj_GetDropLocation, 1,
|
||||
"() -> (AEDesc dropLocation)"},
|
||||
PyDoc_STR("() -> (AEDesc dropLocation)")},
|
||||
{"SetDropLocation", (PyCFunction)DragObj_SetDropLocation, 1,
|
||||
"(AEDesc dropLocation) -> None"},
|
||||
PyDoc_STR("(AEDesc dropLocation) -> None")},
|
||||
{"GetDragAttributes", (PyCFunction)DragObj_GetDragAttributes, 1,
|
||||
"() -> (DragAttributes flags)"},
|
||||
PyDoc_STR("() -> (DragAttributes flags)")},
|
||||
{"GetDragMouse", (PyCFunction)DragObj_GetDragMouse, 1,
|
||||
"() -> (Point mouse, Point globalPinnedMouse)"},
|
||||
PyDoc_STR("() -> (Point mouse, Point globalPinnedMouse)")},
|
||||
{"SetDragMouse", (PyCFunction)DragObj_SetDragMouse, 1,
|
||||
"(Point globalPinnedMouse) -> None"},
|
||||
PyDoc_STR("(Point globalPinnedMouse) -> None")},
|
||||
{"GetDragOrigin", (PyCFunction)DragObj_GetDragOrigin, 1,
|
||||
"() -> (Point globalInitialMouse)"},
|
||||
PyDoc_STR("() -> (Point globalInitialMouse)")},
|
||||
{"GetDragModifiers", (PyCFunction)DragObj_GetDragModifiers, 1,
|
||||
"() -> (SInt16 modifiers, SInt16 mouseDownModifiers, SInt16 mouseUpModifiers)"},
|
||||
PyDoc_STR("() -> (SInt16 modifiers, SInt16 mouseDownModifiers, SInt16 mouseUpModifiers)")},
|
||||
{"ShowDragHilite", (PyCFunction)DragObj_ShowDragHilite, 1,
|
||||
"(RgnHandle hiliteFrame, Boolean inside) -> None"},
|
||||
PyDoc_STR("(RgnHandle hiliteFrame, Boolean inside) -> None")},
|
||||
{"HideDragHilite", (PyCFunction)DragObj_HideDragHilite, 1,
|
||||
"() -> None"},
|
||||
PyDoc_STR("() -> None")},
|
||||
{"DragPreScroll", (PyCFunction)DragObj_DragPreScroll, 1,
|
||||
"(SInt16 dH, SInt16 dV) -> None"},
|
||||
PyDoc_STR("(SInt16 dH, SInt16 dV) -> None")},
|
||||
{"DragPostScroll", (PyCFunction)DragObj_DragPostScroll, 1,
|
||||
"() -> None"},
|
||||
PyDoc_STR("() -> None")},
|
||||
{"UpdateDragHilite", (PyCFunction)DragObj_UpdateDragHilite, 1,
|
||||
"(RgnHandle updateRgn) -> None"},
|
||||
PyDoc_STR("(RgnHandle updateRgn) -> None")},
|
||||
{NULL, NULL, 0}
|
||||
};
|
||||
|
||||
|
@ -959,23 +959,23 @@ static PyObject *Drag_RemoveReceiveHandler(PyObject *_self, PyObject *_args)
|
|||
|
||||
static PyMethodDef Drag_methods[] = {
|
||||
{"NewDrag", (PyCFunction)Drag_NewDrag, 1,
|
||||
"() -> (DragRef theDrag)"},
|
||||
PyDoc_STR("() -> (DragRef theDrag)")},
|
||||
{"GetDragHiliteColor", (PyCFunction)Drag_GetDragHiliteColor, 1,
|
||||
"(WindowPtr window) -> (RGBColor color)"},
|
||||
PyDoc_STR("(WindowPtr window) -> (RGBColor color)")},
|
||||
{"WaitMouseMoved", (PyCFunction)Drag_WaitMouseMoved, 1,
|
||||
"(Point initialMouse) -> (Boolean _rv)"},
|
||||
PyDoc_STR("(Point initialMouse) -> (Boolean _rv)")},
|
||||
{"ZoomRects", (PyCFunction)Drag_ZoomRects, 1,
|
||||
"(Rect fromRect, Rect toRect, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None"},
|
||||
PyDoc_STR("(Rect fromRect, Rect toRect, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None")},
|
||||
{"ZoomRegion", (PyCFunction)Drag_ZoomRegion, 1,
|
||||
"(RgnHandle region, Point zoomDistance, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None"},
|
||||
PyDoc_STR("(RgnHandle region, Point zoomDistance, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None")},
|
||||
{"InstallTrackingHandler", (PyCFunction)Drag_InstallTrackingHandler, 1,
|
||||
NULL},
|
||||
PyDoc_STR(NULL)},
|
||||
{"InstallReceiveHandler", (PyCFunction)Drag_InstallReceiveHandler, 1,
|
||||
NULL},
|
||||
PyDoc_STR(NULL)},
|
||||
{"RemoveTrackingHandler", (PyCFunction)Drag_RemoveTrackingHandler, 1,
|
||||
NULL},
|
||||
PyDoc_STR(NULL)},
|
||||
{"RemoveReceiveHandler", (PyCFunction)Drag_RemoveReceiveHandler, 1,
|
||||
NULL},
|
||||
PyDoc_STR(NULL)},
|
||||
{NULL, NULL, 0}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue