(py-indent-right, py-outdent-left): new commands, bound to C-c C-r and
[python/dscho.git] / Mac / Modules / dlg / dlggen.py
blobbd65cd05c01075eeb209be7638e4f03e31151abd
1 # Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:Dialogs.h'
3 f = Function(DialogPtr, 'NewDialog',
4 (NullStorage, 'wStorage', InMode),
5 (Rect_ptr, 'boundsRect', InMode),
6 (ConstStr255Param, 'title', InMode),
7 (Boolean, 'visible', InMode),
8 (short, 'procID', InMode),
9 (WindowPtr, 'behind', InMode),
10 (Boolean, 'goAwayFlag', InMode),
11 (long, 'refCon', InMode),
12 (Handle, 'itmLstHndl', InMode),
14 functions.append(f)
16 f = Function(DialogPtr, 'GetNewDialog',
17 (short, 'dialogID', InMode),
18 (NullStorage, 'dStorage', InMode),
19 (WindowPtr, 'behind', InMode),
21 functions.append(f)
23 f = Function(void, 'ParamText',
24 (ConstStr255Param, 'param0', InMode),
25 (ConstStr255Param, 'param1', InMode),
26 (ConstStr255Param, 'param2', InMode),
27 (ConstStr255Param, 'param3', InMode),
29 functions.append(f)
31 f = Function(void, 'ModalDialog',
32 (ModalFilterProcPtr, 'filterProc', InMode),
33 (short, 'itemHit', OutMode),
35 functions.append(f)
37 f = Function(Boolean, 'IsDialogEvent',
38 (EventRecord_ptr, 'theEvent', InMode),
40 functions.append(f)
42 f = Function(Boolean, 'DialogSelect',
43 (EventRecord_ptr, 'theEvent', InMode),
44 (ExistingDialogPtr, 'theDialog', OutMode),
45 (short, 'itemHit', OutMode),
47 functions.append(f)
49 f = Method(void, 'DrawDialog',
50 (DialogPtr, 'theDialog', InMode),
52 methods.append(f)
54 f = Method(void, 'UpdateDialog',
55 (DialogPtr, 'theDialog', InMode),
56 (RgnHandle, 'updateRgn', InMode),
58 methods.append(f)
60 f = Function(short, 'Alert',
61 (short, 'alertID', InMode),
62 (ModalFilterProcPtr, 'filterProc', InMode),
64 functions.append(f)
66 f = Function(short, 'StopAlert',
67 (short, 'alertID', InMode),
68 (ModalFilterProcPtr, 'filterProc', InMode),
70 functions.append(f)
72 f = Function(short, 'NoteAlert',
73 (short, 'alertID', InMode),
74 (ModalFilterProcPtr, 'filterProc', InMode),
76 functions.append(f)
78 f = Function(short, 'CautionAlert',
79 (short, 'alertID', InMode),
80 (ModalFilterProcPtr, 'filterProc', InMode),
82 functions.append(f)
84 f = Method(void, 'GetDItem',
85 (DialogPtr, 'theDialog', InMode),
86 (short, 'itemNo', InMode),
87 (short, 'itemType', OutMode),
88 (Handle, 'item', OutMode),
89 (Rect, 'box', OutMode),
91 methods.append(f)
93 f = Method(void, 'SetDItem',
94 (DialogPtr, 'theDialog', InMode),
95 (short, 'itemNo', InMode),
96 (short, 'itemType', InMode),
97 (Handle, 'item', InMode),
98 (Rect_ptr, 'box', InMode),
100 methods.append(f)
102 f = Method(void, 'HideDItem',
103 (DialogPtr, 'theDialog', InMode),
104 (short, 'itemNo', InMode),
106 methods.append(f)
108 f = Method(void, 'ShowDItem',
109 (DialogPtr, 'theDialog', InMode),
110 (short, 'itemNo', InMode),
112 methods.append(f)
114 f = Method(void, 'SelIText',
115 (DialogPtr, 'theDialog', InMode),
116 (short, 'itemNo', InMode),
117 (short, 'strtSel', InMode),
118 (short, 'endSel', InMode),
120 methods.append(f)
122 f = Function(void, 'GetIText',
123 (Handle, 'item', InMode),
124 (Str255, 'text', OutMode),
126 functions.append(f)
128 f = Function(void, 'SetIText',
129 (Handle, 'item', InMode),
130 (ConstStr255Param, 'text', InMode),
132 functions.append(f)
134 f = Method(short, 'FindDItem',
135 (DialogPtr, 'theDialog', InMode),
136 (Point, 'thePt', InMode),
138 methods.append(f)
140 f = Function(DialogPtr, 'NewCDialog',
141 (NullStorage, 'dStorage', InMode),
142 (Rect_ptr, 'boundsRect', InMode),
143 (ConstStr255Param, 'title', InMode),
144 (Boolean, 'visible', InMode),
145 (short, 'procID', InMode),
146 (WindowPtr, 'behind', InMode),
147 (Boolean, 'goAwayFlag', InMode),
148 (long, 'refCon', InMode),
149 (Handle, 'items', InMode),
151 functions.append(f)
153 f = Function(void, 'ResetAlrtStage',
155 functions.append(f)
157 f = Method(void, 'DlgCut',
158 (DialogPtr, 'theDialog', InMode),
160 methods.append(f)
162 f = Method(void, 'DlgPaste',
163 (DialogPtr, 'theDialog', InMode),
165 methods.append(f)
167 f = Method(void, 'DlgCopy',
168 (DialogPtr, 'theDialog', InMode),
170 methods.append(f)
172 f = Method(void, 'DlgDelete',
173 (DialogPtr, 'theDialog', InMode),
175 methods.append(f)
177 f = Function(void, 'SetDAFont',
178 (short, 'fontNum', InMode),
180 functions.append(f)
182 f = Method(void, 'AppendDITL',
183 (DialogPtr, 'theDialog', InMode),
184 (Handle, 'theHandle', InMode),
185 (DITLMethod, 'method', InMode),
187 methods.append(f)
189 f = Method(short, 'CountDITL',
190 (DialogPtr, 'theDialog', InMode),
192 methods.append(f)
194 f = Method(void, 'ShortenDITL',
195 (DialogPtr, 'theDialog', InMode),
196 (short, 'numberItems', InMode),
198 methods.append(f)