summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/dlg
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/dlg')
-rw-r--r--Mac/Modules/dlg/_Dlgmodule.c114
1 files changed, 57 insertions, 57 deletions
diff --git a/Mac/Modules/dlg/_Dlgmodule.c b/Mac/Modules/dlg/_Dlgmodule.c
index 4a7e18d..6651622 100644
--- a/Mac/Modules/dlg/_Dlgmodule.c
+++ b/Mac/Modules/dlg/_Dlgmodule.c
@@ -882,85 +882,85 @@ static PyObject *DlgObj_GetDialogPort(DialogObject *_self, PyObject *_args)
static PyMethodDef DlgObj_methods[] = {
{"DrawDialog", (PyCFunction)DlgObj_DrawDialog, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"UpdateDialog", (PyCFunction)DlgObj_UpdateDialog, 1,
- "(RgnHandle updateRgn) -> None"},
+ PyDoc_STR("(RgnHandle updateRgn) -> None")},
{"HideDialogItem", (PyCFunction)DlgObj_HideDialogItem, 1,
- "(DialogItemIndex itemNo) -> None"},
+ PyDoc_STR("(DialogItemIndex itemNo) -> None")},
{"ShowDialogItem", (PyCFunction)DlgObj_ShowDialogItem, 1,
- "(DialogItemIndex itemNo) -> None"},
+ PyDoc_STR("(DialogItemIndex itemNo) -> None")},
{"FindDialogItem", (PyCFunction)DlgObj_FindDialogItem, 1,
- "(Point thePt) -> (DialogItemIndexZeroBased _rv)"},
+ PyDoc_STR("(Point thePt) -> (DialogItemIndexZeroBased _rv)")},
{"DialogCut", (PyCFunction)DlgObj_DialogCut, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"DialogPaste", (PyCFunction)DlgObj_DialogPaste, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"DialogCopy", (PyCFunction)DlgObj_DialogCopy, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"DialogDelete", (PyCFunction)DlgObj_DialogDelete, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"GetDialogItem", (PyCFunction)DlgObj_GetDialogItem, 1,
- "(DialogItemIndex itemNo) -> (DialogItemType itemType, Handle item, Rect box)"},
+ PyDoc_STR("(DialogItemIndex itemNo) -> (DialogItemType itemType, Handle item, Rect box)")},
{"SetDialogItem", (PyCFunction)DlgObj_SetDialogItem, 1,
- "(DialogItemIndex itemNo, DialogItemType itemType, Handle item, Rect box) -> None"},
+ PyDoc_STR("(DialogItemIndex itemNo, DialogItemType itemType, Handle item, Rect box) -> None")},
{"SelectDialogItemText", (PyCFunction)DlgObj_SelectDialogItemText, 1,
- "(DialogItemIndex itemNo, SInt16 strtSel, SInt16 endSel) -> None"},
+ PyDoc_STR("(DialogItemIndex itemNo, SInt16 strtSel, SInt16 endSel) -> None")},
{"AppendDITL", (PyCFunction)DlgObj_AppendDITL, 1,
- "(Handle theHandle, DITLMethod method) -> None"},
+ PyDoc_STR("(Handle theHandle, DITLMethod method) -> None")},
{"CountDITL", (PyCFunction)DlgObj_CountDITL, 1,
- "() -> (DialogItemIndex _rv)"},
+ PyDoc_STR("() -> (DialogItemIndex _rv)")},
{"ShortenDITL", (PyCFunction)DlgObj_ShortenDITL, 1,
- "(DialogItemIndex numberItems) -> None"},
+ PyDoc_STR("(DialogItemIndex numberItems) -> None")},
#if TARGET_API_MAC_CARBON
{"InsertDialogItem", (PyCFunction)DlgObj_InsertDialogItem, 1,
- "(DialogItemIndex afterItem, DialogItemType itemType, Handle itemHandle, Rect box) -> None"},
+ PyDoc_STR("(DialogItemIndex afterItem, DialogItemType itemType, Handle itemHandle, Rect box) -> None")},
#endif
#if TARGET_API_MAC_CARBON
{"RemoveDialogItems", (PyCFunction)DlgObj_RemoveDialogItems, 1,
- "(DialogItemIndex itemNo, DialogItemIndex amountToRemove, Boolean disposeItemData) -> None"},
+ PyDoc_STR("(DialogItemIndex itemNo, DialogItemIndex amountToRemove, Boolean disposeItemData) -> None")},
#endif
{"StdFilterProc", (PyCFunction)DlgObj_StdFilterProc, 1,
- "() -> (Boolean _rv, EventRecord event, DialogItemIndex itemHit)"},
+ PyDoc_STR("() -> (Boolean _rv, EventRecord event, DialogItemIndex itemHit)")},
{"SetDialogDefaultItem", (PyCFunction)DlgObj_SetDialogDefaultItem, 1,
- "(DialogItemIndex newItem) -> None"},
+ PyDoc_STR("(DialogItemIndex newItem) -> None")},
{"SetDialogCancelItem", (PyCFunction)DlgObj_SetDialogCancelItem, 1,
- "(DialogItemIndex newItem) -> None"},
+ PyDoc_STR("(DialogItemIndex newItem) -> None")},
{"SetDialogTracksCursor", (PyCFunction)DlgObj_SetDialogTracksCursor, 1,
- "(Boolean tracks) -> None"},
+ PyDoc_STR("(Boolean tracks) -> None")},
{"AutoSizeDialog", (PyCFunction)DlgObj_AutoSizeDialog, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"GetDialogItemAsControl", (PyCFunction)DlgObj_GetDialogItemAsControl, 1,
- "(SInt16 inItemNo) -> (ControlHandle outControl)"},
+ PyDoc_STR("(SInt16 inItemNo) -> (ControlHandle outControl)")},
{"MoveDialogItem", (PyCFunction)DlgObj_MoveDialogItem, 1,
- "(SInt16 inItemNo, SInt16 inHoriz, SInt16 inVert) -> None"},
+ PyDoc_STR("(SInt16 inItemNo, SInt16 inHoriz, SInt16 inVert) -> None")},
{"SizeDialogItem", (PyCFunction)DlgObj_SizeDialogItem, 1,
- "(SInt16 inItemNo, SInt16 inWidth, SInt16 inHeight) -> None"},
+ PyDoc_STR("(SInt16 inItemNo, SInt16 inWidth, SInt16 inHeight) -> None")},
{"AppendDialogItemList", (PyCFunction)DlgObj_AppendDialogItemList, 1,
- "(SInt16 ditlID, DITLMethod method) -> None"},
+ PyDoc_STR("(SInt16 ditlID, DITLMethod method) -> None")},
{"SetDialogTimeout", (PyCFunction)DlgObj_SetDialogTimeout, 1,
- "(SInt16 inButtonToPress, UInt32 inSecondsToWait) -> None"},
+ PyDoc_STR("(SInt16 inButtonToPress, UInt32 inSecondsToWait) -> None")},
{"GetDialogTimeout", (PyCFunction)DlgObj_GetDialogTimeout, 1,
- "() -> (SInt16 outButtonToPress, UInt32 outSecondsToWait, UInt32 outSecondsRemaining)"},
+ PyDoc_STR("() -> (SInt16 outButtonToPress, UInt32 outSecondsToWait, UInt32 outSecondsRemaining)")},
{"SetModalDialogEventMask", (PyCFunction)DlgObj_SetModalDialogEventMask, 1,
- "(EventMask inMask) -> None"},
+ PyDoc_STR("(EventMask inMask) -> None")},
{"GetModalDialogEventMask", (PyCFunction)DlgObj_GetModalDialogEventMask, 1,
- "() -> (EventMask outMask)"},
+ PyDoc_STR("() -> (EventMask outMask)")},
{"GetDialogWindow", (PyCFunction)DlgObj_GetDialogWindow, 1,
- "() -> (WindowPtr _rv)"},
+ PyDoc_STR("() -> (WindowPtr _rv)")},
{"GetDialogTextEditHandle", (PyCFunction)DlgObj_GetDialogTextEditHandle, 1,
- "() -> (TEHandle _rv)"},
+ PyDoc_STR("() -> (TEHandle _rv)")},
{"GetDialogDefaultItem", (PyCFunction)DlgObj_GetDialogDefaultItem, 1,
- "() -> (SInt16 _rv)"},
+ PyDoc_STR("() -> (SInt16 _rv)")},
{"GetDialogCancelItem", (PyCFunction)DlgObj_GetDialogCancelItem, 1,
- "() -> (SInt16 _rv)"},
+ PyDoc_STR("() -> (SInt16 _rv)")},
{"GetDialogKeyboardFocusItem", (PyCFunction)DlgObj_GetDialogKeyboardFocusItem, 1,
- "() -> (SInt16 _rv)"},
+ PyDoc_STR("() -> (SInt16 _rv)")},
{"SetPortDialogPort", (PyCFunction)DlgObj_SetPortDialogPort, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
{"GetDialogPort", (PyCFunction)DlgObj_GetDialogPort, 1,
- "() -> (CGrafPtr _rv)"},
+ PyDoc_STR("() -> (CGrafPtr _rv)")},
{NULL, NULL, 0}
};
@@ -1471,48 +1471,48 @@ static PyObject *Dlg_SetUserItemHandler(PyObject *_self, PyObject *_args)
static PyMethodDef Dlg_methods[] = {
{"NewDialog", (PyCFunction)Dlg_NewDialog, 1,
- "(Rect boundsRect, Str255 title, Boolean visible, SInt16 procID, WindowPtr behind, Boolean goAwayFlag, SInt32 refCon, Handle items) -> (DialogPtr _rv)"},
+ PyDoc_STR("(Rect boundsRect, Str255 title, Boolean visible, SInt16 procID, WindowPtr behind, Boolean goAwayFlag, SInt32 refCon, Handle items) -> (DialogPtr _rv)")},
{"GetNewDialog", (PyCFunction)Dlg_GetNewDialog, 1,
- "(SInt16 dialogID, WindowPtr behind) -> (DialogPtr _rv)"},
+ PyDoc_STR("(SInt16 dialogID, WindowPtr behind) -> (DialogPtr _rv)")},
{"NewColorDialog", (PyCFunction)Dlg_NewColorDialog, 1,
- "(Rect boundsRect, Str255 title, Boolean visible, SInt16 procID, WindowPtr behind, Boolean goAwayFlag, SInt32 refCon, Handle items) -> (DialogPtr _rv)"},
+ PyDoc_STR("(Rect boundsRect, Str255 title, Boolean visible, SInt16 procID, WindowPtr behind, Boolean goAwayFlag, SInt32 refCon, Handle items) -> (DialogPtr _rv)")},
{"ModalDialog", (PyCFunction)Dlg_ModalDialog, 1,
- "(PyObject* modalFilter) -> (DialogItemIndex itemHit)"},
+ PyDoc_STR("(PyObject* modalFilter) -> (DialogItemIndex itemHit)")},
{"IsDialogEvent", (PyCFunction)Dlg_IsDialogEvent, 1,
- "(EventRecord theEvent) -> (Boolean _rv)"},
+ PyDoc_STR("(EventRecord theEvent) -> (Boolean _rv)")},
{"DialogSelect", (PyCFunction)Dlg_DialogSelect, 1,
- "(EventRecord theEvent) -> (Boolean _rv, DialogPtr theDialog, DialogItemIndex itemHit)"},
+ PyDoc_STR("(EventRecord theEvent) -> (Boolean _rv, DialogPtr theDialog, DialogItemIndex itemHit)")},
{"Alert", (PyCFunction)Dlg_Alert, 1,
- "(SInt16 alertID, PyObject* modalFilter) -> (DialogItemIndex _rv)"},
+ PyDoc_STR("(SInt16 alertID, PyObject* modalFilter) -> (DialogItemIndex _rv)")},
{"StopAlert", (PyCFunction)Dlg_StopAlert, 1,
- "(SInt16 alertID, PyObject* modalFilter) -> (DialogItemIndex _rv)"},
+ PyDoc_STR("(SInt16 alertID, PyObject* modalFilter) -> (DialogItemIndex _rv)")},
{"NoteAlert", (PyCFunction)Dlg_NoteAlert, 1,
- "(SInt16 alertID, PyObject* modalFilter) -> (DialogItemIndex _rv)"},
+ PyDoc_STR("(SInt16 alertID, PyObject* modalFilter) -> (DialogItemIndex _rv)")},
{"CautionAlert", (PyCFunction)Dlg_CautionAlert, 1,
- "(SInt16 alertID, PyObject* modalFilter) -> (DialogItemIndex _rv)"},
+ PyDoc_STR("(SInt16 alertID, PyObject* modalFilter) -> (DialogItemIndex _rv)")},
{"ParamText", (PyCFunction)Dlg_ParamText, 1,
- "(Str255 param0, Str255 param1, Str255 param2, Str255 param3) -> None"},
+ PyDoc_STR("(Str255 param0, Str255 param1, Str255 param2, Str255 param3) -> None")},
{"GetDialogItemText", (PyCFunction)Dlg_GetDialogItemText, 1,
- "(Handle item) -> (Str255 text)"},
+ PyDoc_STR("(Handle item) -> (Str255 text)")},
{"SetDialogItemText", (PyCFunction)Dlg_SetDialogItemText, 1,
- "(Handle item, Str255 text) -> None"},
+ PyDoc_STR("(Handle item, Str255 text) -> None")},
{"GetAlertStage", (PyCFunction)Dlg_GetAlertStage, 1,
- "() -> (SInt16 _rv)"},
+ PyDoc_STR("() -> (SInt16 _rv)")},
{"SetDialogFont", (PyCFunction)Dlg_SetDialogFont, 1,
- "(SInt16 fontNum) -> None"},
+ PyDoc_STR("(SInt16 fontNum) -> None")},
{"ResetAlertStage", (PyCFunction)Dlg_ResetAlertStage, 1,
- "() -> None"},
+ PyDoc_STR("() -> None")},
#if TARGET_API_MAC_CARBON
{"GetParamText", (PyCFunction)Dlg_GetParamText, 1,
- "(Str255 param0, Str255 param1, Str255 param2, Str255 param3) -> None"},
+ PyDoc_STR("(Str255 param0, Str255 param1, Str255 param2, Str255 param3) -> None")},
#endif
{"NewFeaturesDialog", (PyCFunction)Dlg_NewFeaturesDialog, 1,
- "(Rect inBoundsRect, Str255 inTitle, Boolean inIsVisible, SInt16 inProcID, WindowPtr inBehind, Boolean inGoAwayFlag, SInt32 inRefCon, Handle inItemListHandle, UInt32 inFlags) -> (DialogPtr _rv)"},
+ PyDoc_STR("(Rect inBoundsRect, Str255 inTitle, Boolean inIsVisible, SInt16 inProcID, WindowPtr inBehind, Boolean inGoAwayFlag, SInt32 inRefCon, Handle inItemListHandle, UInt32 inFlags) -> (DialogPtr _rv)")},
{"GetDialogFromWindow", (PyCFunction)Dlg_GetDialogFromWindow, 1,
- "(WindowPtr window) -> (DialogPtr _rv)"},
+ PyDoc_STR("(WindowPtr window) -> (DialogPtr _rv)")},
{"SetUserItemHandler", (PyCFunction)Dlg_SetUserItemHandler, 1,
- NULL},
+ PyDoc_STR(NULL)},
{NULL, NULL, 0}
};