[Python-checkins] python/dist/src/Mac/Modules/drag _Dragmodule.c,1.9,1.10

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 16 Aug 2002 02:09:58 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules/drag
In directory usw-pr-cvs1:/tmp/cvs-serv18405/drag

Modified Files:
	_Dragmodule.c 
Log Message:
Regenerated with PyDoc_STR() around docstrings.


Index: _Dragmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/drag/_Dragmodule.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** _Dragmodule.c	23 Apr 2002 22:44:55 -0000	1.9
--- _Dragmodule.c	16 Aug 2002 09:09:25 -0000	1.10
***************
*** 685,741 ****
  static PyMethodDef DragObj_methods[] = {
  	{"DisposeDrag", (PyCFunction)DragObj_DisposeDrag, 1,
! 	 "() -> None"},
  	{"AddDragItemFlavor", (PyCFunction)DragObj_AddDragItemFlavor, 1,
! 	 "(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, FlavorFlags theFlags) -> None"},
  	{"SetDragItemFlavorData", (PyCFunction)DragObj_SetDragItemFlavorData, 1,
! 	 "(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, UInt32 dataOffset) -> None"},
  	{"SetDragImage", (PyCFunction)DragObj_SetDragImage, 1,
! 	 "(PixMapHandle imagePixMap, RgnHandle imageRgn, Point imageOffsetPt, DragImageFlags theImageFlags) -> None"},
  	{"ChangeDragBehaviors", (PyCFunction)DragObj_ChangeDragBehaviors, 1,
! 	 "(DragBehaviors inBehaviorsToSet, DragBehaviors inBehaviorsToClear) -> None"},
  	{"TrackDrag", (PyCFunction)DragObj_TrackDrag, 1,
! 	 "(EventRecord theEvent, RgnHandle theRegion) -> None"},
  	{"CountDragItems", (PyCFunction)DragObj_CountDragItems, 1,
! 	 "() -> (UInt16 numItems)"},
  	{"GetDragItemReferenceNumber", (PyCFunction)DragObj_GetDragItemReferenceNumber, 1,
! 	 "(UInt16 index) -> (ItemReference theItemRef)"},
  	{"CountDragItemFlavors", (PyCFunction)DragObj_CountDragItemFlavors, 1,
! 	 "(ItemReference theItemRef) -> (UInt16 numFlavors)"},
  	{"GetFlavorType", (PyCFunction)DragObj_GetFlavorType, 1,
! 	 "(ItemReference theItemRef, UInt16 index) -> (FlavorType theType)"},
  	{"GetFlavorFlags", (PyCFunction)DragObj_GetFlavorFlags, 1,
! 	 "(ItemReference theItemRef, FlavorType theType) -> (FlavorFlags theFlags)"},
  	{"GetFlavorDataSize", (PyCFunction)DragObj_GetFlavorDataSize, 1,
! 	 "(ItemReference theItemRef, FlavorType theType) -> (Size dataSize)"},
  	{"GetFlavorData", (PyCFunction)DragObj_GetFlavorData, 1,
! 	 "(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, UInt32 dataOffset) -> (Buffer dataPtr)"},
  	{"GetDragItemBounds", (PyCFunction)DragObj_GetDragItemBounds, 1,
! 	 "(ItemReference theItemRef) -> (Rect itemBounds)"},
  	{"SetDragItemBounds", (PyCFunction)DragObj_SetDragItemBounds, 1,
! 	 "(ItemReference theItemRef, Rect itemBounds) -> None"},
  	{"GetDropLocation", (PyCFunction)DragObj_GetDropLocation, 1,
! 	 "() -> (AEDesc dropLocation)"},
  	{"SetDropLocation", (PyCFunction)DragObj_SetDropLocation, 1,
! 	 "(AEDesc dropLocation) -> None"},
  	{"GetDragAttributes", (PyCFunction)DragObj_GetDragAttributes, 1,
! 	 "() -> (DragAttributes flags)"},
  	{"GetDragMouse", (PyCFunction)DragObj_GetDragMouse, 1,
! 	 "() -> (Point mouse, Point globalPinnedMouse)"},
  	{"SetDragMouse", (PyCFunction)DragObj_SetDragMouse, 1,
! 	 "(Point globalPinnedMouse) -> None"},
  	{"GetDragOrigin", (PyCFunction)DragObj_GetDragOrigin, 1,
! 	 "() -> (Point globalInitialMouse)"},
  	{"GetDragModifiers", (PyCFunction)DragObj_GetDragModifiers, 1,
! 	 "() -> (SInt16 modifiers, SInt16 mouseDownModifiers, SInt16 mouseUpModifiers)"},
  	{"ShowDragHilite", (PyCFunction)DragObj_ShowDragHilite, 1,
! 	 "(RgnHandle hiliteFrame, Boolean inside) -> None"},
  	{"HideDragHilite", (PyCFunction)DragObj_HideDragHilite, 1,
! 	 "() -> None"},
  	{"DragPreScroll", (PyCFunction)DragObj_DragPreScroll, 1,
! 	 "(SInt16 dH, SInt16 dV) -> None"},
  	{"DragPostScroll", (PyCFunction)DragObj_DragPostScroll, 1,
! 	 "() -> None"},
  	{"UpdateDragHilite", (PyCFunction)DragObj_UpdateDragHilite, 1,
! 	 "(RgnHandle updateRgn) -> None"},
  	{NULL, NULL, 0}
  };
--- 685,741 ----
  static PyMethodDef DragObj_methods[] = {
  	{"DisposeDrag", (PyCFunction)DragObj_DisposeDrag, 1,
! 	 PyDoc_STR("() -> None")},
  	{"AddDragItemFlavor", (PyCFunction)DragObj_AddDragItemFlavor, 1,
! 	 PyDoc_STR("(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, FlavorFlags theFlags) -> None")},
  	{"SetDragItemFlavorData", (PyCFunction)DragObj_SetDragItemFlavorData, 1,
! 	 PyDoc_STR("(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, UInt32 dataOffset) -> None")},
  	{"SetDragImage", (PyCFunction)DragObj_SetDragImage, 1,
! 	 PyDoc_STR("(PixMapHandle imagePixMap, RgnHandle imageRgn, Point imageOffsetPt, DragImageFlags theImageFlags) -> None")},
  	{"ChangeDragBehaviors", (PyCFunction)DragObj_ChangeDragBehaviors, 1,
! 	 PyDoc_STR("(DragBehaviors inBehaviorsToSet, DragBehaviors inBehaviorsToClear) -> None")},
  	{"TrackDrag", (PyCFunction)DragObj_TrackDrag, 1,
! 	 PyDoc_STR("(EventRecord theEvent, RgnHandle theRegion) -> None")},
  	{"CountDragItems", (PyCFunction)DragObj_CountDragItems, 1,
! 	 PyDoc_STR("() -> (UInt16 numItems)")},
  	{"GetDragItemReferenceNumber", (PyCFunction)DragObj_GetDragItemReferenceNumber, 1,
! 	 PyDoc_STR("(UInt16 index) -> (ItemReference theItemRef)")},
  	{"CountDragItemFlavors", (PyCFunction)DragObj_CountDragItemFlavors, 1,
! 	 PyDoc_STR("(ItemReference theItemRef) -> (UInt16 numFlavors)")},
  	{"GetFlavorType", (PyCFunction)DragObj_GetFlavorType, 1,
! 	 PyDoc_STR("(ItemReference theItemRef, UInt16 index) -> (FlavorType theType)")},
  	{"GetFlavorFlags", (PyCFunction)DragObj_GetFlavorFlags, 1,
! 	 PyDoc_STR("(ItemReference theItemRef, FlavorType theType) -> (FlavorFlags theFlags)")},
  	{"GetFlavorDataSize", (PyCFunction)DragObj_GetFlavorDataSize, 1,
! 	 PyDoc_STR("(ItemReference theItemRef, FlavorType theType) -> (Size dataSize)")},
  	{"GetFlavorData", (PyCFunction)DragObj_GetFlavorData, 1,
! 	 PyDoc_STR("(ItemReference theItemRef, FlavorType theType, Buffer dataPtr, UInt32 dataOffset) -> (Buffer dataPtr)")},
  	{"GetDragItemBounds", (PyCFunction)DragObj_GetDragItemBounds, 1,
! 	 PyDoc_STR("(ItemReference theItemRef) -> (Rect itemBounds)")},
  	{"SetDragItemBounds", (PyCFunction)DragObj_SetDragItemBounds, 1,
! 	 PyDoc_STR("(ItemReference theItemRef, Rect itemBounds) -> None")},
  	{"GetDropLocation", (PyCFunction)DragObj_GetDropLocation, 1,
! 	 PyDoc_STR("() -> (AEDesc dropLocation)")},
  	{"SetDropLocation", (PyCFunction)DragObj_SetDropLocation, 1,
! 	 PyDoc_STR("(AEDesc dropLocation) -> None")},
  	{"GetDragAttributes", (PyCFunction)DragObj_GetDragAttributes, 1,
! 	 PyDoc_STR("() -> (DragAttributes flags)")},
  	{"GetDragMouse", (PyCFunction)DragObj_GetDragMouse, 1,
! 	 PyDoc_STR("() -> (Point mouse, Point globalPinnedMouse)")},
  	{"SetDragMouse", (PyCFunction)DragObj_SetDragMouse, 1,
! 	 PyDoc_STR("(Point globalPinnedMouse) -> None")},
  	{"GetDragOrigin", (PyCFunction)DragObj_GetDragOrigin, 1,
! 	 PyDoc_STR("() -> (Point globalInitialMouse)")},
  	{"GetDragModifiers", (PyCFunction)DragObj_GetDragModifiers, 1,
! 	 PyDoc_STR("() -> (SInt16 modifiers, SInt16 mouseDownModifiers, SInt16 mouseUpModifiers)")},
  	{"ShowDragHilite", (PyCFunction)DragObj_ShowDragHilite, 1,
! 	 PyDoc_STR("(RgnHandle hiliteFrame, Boolean inside) -> None")},
  	{"HideDragHilite", (PyCFunction)DragObj_HideDragHilite, 1,
! 	 PyDoc_STR("() -> None")},
  	{"DragPreScroll", (PyCFunction)DragObj_DragPreScroll, 1,
! 	 PyDoc_STR("(SInt16 dH, SInt16 dV) -> None")},
  	{"DragPostScroll", (PyCFunction)DragObj_DragPostScroll, 1,
! 	 PyDoc_STR("() -> None")},
  	{"UpdateDragHilite", (PyCFunction)DragObj_UpdateDragHilite, 1,
! 	 PyDoc_STR("(RgnHandle updateRgn) -> None")},
  	{NULL, NULL, 0}
  };
***************
*** 960,980 ****
  static PyMethodDef Drag_methods[] = {
  	{"NewDrag", (PyCFunction)Drag_NewDrag, 1,
! 	 "() -> (DragRef theDrag)"},
  	{"GetDragHiliteColor", (PyCFunction)Drag_GetDragHiliteColor, 1,
! 	 "(WindowPtr window) -> (RGBColor color)"},
  	{"WaitMouseMoved", (PyCFunction)Drag_WaitMouseMoved, 1,
! 	 "(Point initialMouse) -> (Boolean _rv)"},
  	{"ZoomRects", (PyCFunction)Drag_ZoomRects, 1,
! 	 "(Rect fromRect, Rect toRect, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None"},
  	{"ZoomRegion", (PyCFunction)Drag_ZoomRegion, 1,
! 	 "(RgnHandle region, Point zoomDistance, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None"},
  	{"InstallTrackingHandler", (PyCFunction)Drag_InstallTrackingHandler, 1,
! 	 NULL},
  	{"InstallReceiveHandler", (PyCFunction)Drag_InstallReceiveHandler, 1,
! 	 NULL},
  	{"RemoveTrackingHandler", (PyCFunction)Drag_RemoveTrackingHandler, 1,
! 	 NULL},
  	{"RemoveReceiveHandler", (PyCFunction)Drag_RemoveReceiveHandler, 1,
! 	 NULL},
  	{NULL, NULL, 0}
  };
--- 960,980 ----
  static PyMethodDef Drag_methods[] = {
  	{"NewDrag", (PyCFunction)Drag_NewDrag, 1,
! 	 PyDoc_STR("() -> (DragRef theDrag)")},
  	{"GetDragHiliteColor", (PyCFunction)Drag_GetDragHiliteColor, 1,
! 	 PyDoc_STR("(WindowPtr window) -> (RGBColor color)")},
  	{"WaitMouseMoved", (PyCFunction)Drag_WaitMouseMoved, 1,
! 	 PyDoc_STR("(Point initialMouse) -> (Boolean _rv)")},
  	{"ZoomRects", (PyCFunction)Drag_ZoomRects, 1,
! 	 PyDoc_STR("(Rect fromRect, Rect toRect, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None")},
  	{"ZoomRegion", (PyCFunction)Drag_ZoomRegion, 1,
! 	 PyDoc_STR("(RgnHandle region, Point zoomDistance, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None")},
  	{"InstallTrackingHandler", (PyCFunction)Drag_InstallTrackingHandler, 1,
! 	 PyDoc_STR(NULL)},
  	{"InstallReceiveHandler", (PyCFunction)Drag_InstallReceiveHandler, 1,
! 	 PyDoc_STR(NULL)},
  	{"RemoveTrackingHandler", (PyCFunction)Drag_RemoveTrackingHandler, 1,
! 	 PyDoc_STR(NULL)},
  	{"RemoveReceiveHandler", (PyCFunction)Drag_RemoveReceiveHandler, 1,
! 	 PyDoc_STR(NULL)},
  	{NULL, NULL, 0}
  };