Move setting of ioready 'wait' earlier in call chain, to
[python/dscho.git] / Lib / plat-mac / lib-scriptpackages / Finder / Window_classes.py
blobbbfc46ebbb329be4fe6357b0175cc9c2e9f4e66e
1 """Suite Window classes: Classes representing windows
2 Level 1, version 1
4 Generated from /Volumes/Sap/System Folder/Finder
5 AETE/AEUT resource version 0/144, language 0, script 0
6 """
8 import aetools
9 import MacOS
11 _code = 'fndr'
13 class Window_classes_Events:
15 pass
18 class window(aetools.ComponentItem):
19 """window - A window """
20 want = 'cwin'
21 class position(aetools.NProperty):
22 """position - the upper left position of the window """
23 which = 'posn'
24 want = 'QDpt'
25 class bounds(aetools.NProperty):
26 """bounds - the boundary rectangle for the window """
27 which = 'pbnd'
28 want = 'qdrt'
29 class titled(aetools.NProperty):
30 """titled - Does the window have a title bar? """
31 which = 'ptit'
32 want = 'bool'
33 class name(aetools.NProperty):
34 """name - the name of the window """
35 which = 'pnam'
36 want = 'itxt'
37 class index(aetools.NProperty):
38 """index - the number of the window in the front-to-back layer ordering """
39 which = 'pidx'
40 want = 'long'
41 class closeable(aetools.NProperty):
42 """closeable - Does the window have a close box? """
43 which = 'hclb'
44 want = 'bool'
45 class floating(aetools.NProperty):
46 """floating - Does the window have a title bar? """
47 which = 'isfl'
48 want = 'bool'
49 class modal(aetools.NProperty):
50 """modal - Is the window modal? """
51 which = 'pmod'
52 want = 'bool'
53 class resizable(aetools.NProperty):
54 """resizable - Is the window resizable? """
55 which = 'prsz'
56 want = 'bool'
57 class zoomable(aetools.NProperty):
58 """zoomable - Is the window zoomable? """
59 which = 'iszm'
60 want = 'bool'
61 class zoomed(aetools.NProperty):
62 """zoomed - Is the window zoomed? """
63 which = 'pzum'
64 want = 'bool'
65 class zoomed_full_size(aetools.NProperty):
66 """zoomed full size - Is the window zoomed to the full size of the screen? (can only be set, not read, and only applies to open non-pop-up windows) """
67 which = 'zumf'
68 want = 'bool'
69 class visible(aetools.NProperty):
70 """visible - Is the window visible (always true for open Finder windows)? """
71 which = 'pvis'
72 want = 'bool'
73 class popup(aetools.NProperty):
74 """popup - Is the window is a pop-up window? (only applies to open container windows in the Finder and can only be set when the Finder is the front application) """
75 which = 'drwr'
76 want = 'bool'
77 class pulled_open(aetools.NProperty):
78 """pulled open - Is the window pulled open (only applies to pop-up windows and can only be set when the Finder is the front application)? """
79 which = 'pull'
80 want = 'bool'
81 class collapsed(aetools.NProperty):
82 """collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """
83 which = 'wshd'
84 want = 'bool'
86 windows = window
88 class container_window(aetools.ComponentItem):
89 """container window - A window that contains items """
90 want = 'cwnd'
91 class _3c_Inheritance_3e_(aetools.NProperty):
92 """<Inheritance> - inherits some of its properties from the window class """
93 which = 'c@#^'
94 want = 'cwin'
95 class container(aetools.NProperty):
96 """container - the container from which the window was opened """
97 which = 'ctnr'
98 want = 'obj '
99 class item(aetools.NProperty):
100 """item - the item from which the window was opened (always returns something) """
101 which = 'cobj'
102 want = 'obj '
103 class has_custom_view_settings(aetools.NProperty):
104 """has custom view settings - Does the folder have custom view settings or is it using the default global settings? """
105 which = 'cuss'
106 want = 'bool'
107 class view(aetools.NProperty):
108 """view - the current view for the window (icon, name, date, etc.) """
109 which = 'pvew'
110 want = 'long'
111 class previous_list_view(aetools.NProperty):
112 """previous list view - the last non-icon view (by name, by date, etc.) selected for the container (forgotten as soon as the window is closed and only available when the window is open) """
113 which = 'svew'
114 want = 'enum'
115 class button_view_arrangement(aetools.NProperty):
116 """button view arrangement - the property by which to keep icons arranged within a button view window """
117 which = 'barr'
118 want = 'earr'
119 class spatial_view_arrangement(aetools.NProperty):
120 """spatial view arrangement - the property by which to keep icons arranged within a spatial view window """
121 which = 'iarr'
122 want = 'earr'
123 class sort_direction(aetools.NProperty):
124 """sort direction - The direction in which the window is sorted """
125 which = 'sord'
126 want = 'sodr'
127 class calculates_folder_sizes(aetools.NProperty):
128 """calculates folder sizes - Are folder sizes calculated and displayed in the window? (does not apply to suitcase windows) """
129 which = 'sfsz'
130 want = 'bool'
131 class shows_comments(aetools.NProperty):
132 """shows comments - Are comments displayed in the window? (does not apply to suitcases) """
133 which = 'scom'
134 want = 'bool'
135 class shows_creation_date(aetools.NProperty):
136 """shows creation date - Are creation dates displayed in the window? """
137 which = 'scda'
138 want = 'bool'
139 class shows_kind(aetools.NProperty):
140 """shows kind - Are document kinds displayed in the window? """
141 which = 'sknd'
142 want = 'bool'
143 class shows_label(aetools.NProperty):
144 """shows label - Are labels displayed in the window? """
145 which = 'slbl'
146 want = 'bool'
147 class shows_modification_date(aetools.NProperty):
148 """shows modification date - Are modification dates displayed in the window? """
149 which = 'sdat'
150 want = 'bool'
151 class shows_size(aetools.NProperty):
152 """shows size - Are file sizes displayed in the window? """
153 which = 'ssiz'
154 want = 'bool'
155 class shows_version(aetools.NProperty):
156 """shows version - Are file versions displayed in the window? (does not apply to suitcase windows) """
157 which = 'svrs'
158 want = 'bool'
159 class uses_relative_dates(aetools.NProperty):
160 """uses relative dates - Are relative dates (e.g., today, yesterday) shown in the window? """
161 which = 'urdt'
162 want = 'bool'
164 container_windows = container_window
166 class information_window(aetools.ComponentItem):
167 """information window - An information window (opened by \xd2Get Info\xd3) """
168 want = 'iwnd'
169 class current_panel(aetools.NProperty):
170 """current panel - the current panel in the information window """
171 which = 'panl'
172 want = 'ipnl'
173 class comment(aetools.NProperty):
174 """comment - the comment """
175 which = 'comt'
176 want = 'itxt'
177 class size(aetools.NProperty):
178 """size - the logical size of the item """
179 which = 'ptsz'
180 want = 'long'
181 class physical_size(aetools.NProperty):
182 """physical size - the actual space used by the item on disk """
183 which = 'phys'
184 want = 'long'
185 class creation_date(aetools.NProperty):
186 """creation date - the date on which the item was created """
187 which = 'ascd'
188 want = 'ldt '
189 class modification_date(aetools.NProperty):
190 """modification date - the date on which the item was last modified """
191 which = 'asmo'
192 want = 'ldt '
193 class suggested_size(aetools.NProperty):
194 """suggested size - the memory size with which the developer recommends the application be launched """
195 which = 'sprt'
196 want = 'long'
197 class minimum_size(aetools.NProperty):
198 """minimum size - the smallest memory size with which the application can be launched (only applies to information windows for applications) """
199 which = 'mprt'
200 want = 'long'
201 class preferred_size(aetools.NProperty):
202 """preferred size - the memory size with which the application will be launched (only applies to information windows for applications) """
203 which = 'appt'
204 want = 'long'
205 class icon(aetools.NProperty):
206 """icon - the icon bitmap of the item """
207 which = 'iimg'
208 want = 'ifam'
209 class locked(aetools.NProperty):
210 """locked - Is the item locked (applies only to file and application information windows)? """
211 which = 'aslk'
212 want = 'bool'
213 class stationery(aetools.NProperty):
214 """stationery - Is the item a stationery pad? """
215 which = 'pspd'
216 want = 'bool'
217 class warns_before_emptying(aetools.NProperty):
218 """warns before emptying - Display a dialog when emptying the trash (only valid for trash info window)? """
219 which = 'warn'
220 want = 'bool'
221 class product_version(aetools.NProperty):
222 """product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """
223 which = 'ver2'
224 want = 'itxt'
225 class version(aetools.NProperty):
226 """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
227 which = 'vers'
228 want = 'itxt'
230 information_windows = information_window
232 class view_options_window(aetools.ComponentItem):
233 """view options window - A View Options window """
234 want = 'vwnd'
236 view_options_windows = view_options_window
238 class preferences_window(aetools.ComponentItem):
239 """preferences window - The Finder Preferences window """
240 want = 'pwnd'
242 class clipping_window(aetools.ComponentItem):
243 """clipping window - The window containing a clipping """
244 want = 'lwnd'
246 clipping_windows = clipping_window
248 class content_space(aetools.ComponentItem):
249 """content space - All windows, including the desktop window (\xd2Window\xd3 does not include the desktop window) """
250 want = 'dwnd'
252 content_spaces = content_space
253 window._superclassnames = []
254 window._privpropdict = {
255 'position' : position,
256 'bounds' : bounds,
257 'titled' : titled,
258 'name' : name,
259 'index' : index,
260 'closeable' : closeable,
261 'floating' : floating,
262 'modal' : modal,
263 'resizable' : resizable,
264 'zoomable' : zoomable,
265 'zoomed' : zoomed,
266 'zoomed_full_size' : zoomed_full_size,
267 'visible' : visible,
268 'popup' : popup,
269 'pulled_open' : pulled_open,
270 'collapsed' : collapsed,
272 window._privelemdict = {
274 container_window._superclassnames = ['window']
275 container_window._privpropdict = {
276 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
277 'container' : container,
278 'item' : item,
279 'has_custom_view_settings' : has_custom_view_settings,
280 'view' : view,
281 'previous_list_view' : previous_list_view,
282 'button_view_arrangement' : button_view_arrangement,
283 'spatial_view_arrangement' : spatial_view_arrangement,
284 'sort_direction' : sort_direction,
285 'calculates_folder_sizes' : calculates_folder_sizes,
286 'shows_comments' : shows_comments,
287 'shows_creation_date' : shows_creation_date,
288 'shows_kind' : shows_kind,
289 'shows_label' : shows_label,
290 'shows_modification_date' : shows_modification_date,
291 'shows_size' : shows_size,
292 'shows_version' : shows_version,
293 'uses_relative_dates' : uses_relative_dates,
295 container_window._privelemdict = {
297 information_window._superclassnames = ['window']
298 information_window._privpropdict = {
299 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
300 'item' : item,
301 'current_panel' : current_panel,
302 'comment' : comment,
303 'size' : size,
304 'physical_size' : physical_size,
305 'creation_date' : creation_date,
306 'modification_date' : modification_date,
307 'suggested_size' : suggested_size,
308 'minimum_size' : minimum_size,
309 'preferred_size' : preferred_size,
310 'icon' : icon,
311 'locked' : locked,
312 'stationery' : stationery,
313 'warns_before_emptying' : warns_before_emptying,
314 'product_version' : product_version,
315 'version' : version,
317 information_window._privelemdict = {
319 view_options_window._superclassnames = ['window']
320 view_options_window._privpropdict = {
321 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
322 'item' : item,
324 view_options_window._privelemdict = {
326 preferences_window._superclassnames = ['window']
327 preferences_window._privpropdict = {
328 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
329 'current_panel' : current_panel,
331 preferences_window._privelemdict = {
333 clipping_window._superclassnames = ['window']
334 clipping_window._privpropdict = {
335 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
337 clipping_window._privelemdict = {
339 content_space._superclassnames = []
340 content_space._privpropdict = {
342 content_space._privelemdict = {
346 # Indices of types declared in this module
348 _classdeclarations = {
349 'pwnd' : preferences_window,
350 'vwnd' : view_options_window,
351 'cwin' : window,
352 'cwnd' : container_window,
353 'dwnd' : content_space,
354 'iwnd' : information_window,
355 'lwnd' : clipping_window,
358 _propdeclarations = {
359 'prsz' : resizable,
360 'barr' : button_view_arrangement,
361 'pzum' : zoomed,
362 'iarr' : spatial_view_arrangement,
363 'hclb' : closeable,
364 'c@#^' : _3c_Inheritance_3e_,
365 'ver2' : product_version,
366 'sfsz' : calculates_folder_sizes,
367 'sprt' : suggested_size,
368 'zumf' : zoomed_full_size,
369 'urdt' : uses_relative_dates,
370 'panl' : current_panel,
371 'pmod' : modal,
372 'pspd' : stationery,
373 'scom' : shows_comments,
374 'appt' : preferred_size,
375 'aslk' : locked,
376 'pbnd' : bounds,
377 'iimg' : icon,
378 'mprt' : minimum_size,
379 'pnam' : name,
380 'ssiz' : shows_size,
381 'asmo' : modification_date,
382 'cobj' : item,
383 'ptit' : titled,
384 'posn' : position,
385 'cuss' : has_custom_view_settings,
386 'phys' : physical_size,
387 'sknd' : shows_kind,
388 'svrs' : shows_version,
389 'svew' : previous_list_view,
390 'comt' : comment,
391 'iszm' : zoomable,
392 'sord' : sort_direction,
393 'ascd' : creation_date,
394 'ctnr' : container,
395 'wshd' : collapsed,
396 'slbl' : shows_label,
397 'pull' : pulled_open,
398 'ptsz' : size,
399 'pvis' : visible,
400 'pidx' : index,
401 'isfl' : floating,
402 'warn' : warns_before_emptying,
403 'drwr' : popup,
404 'sdat' : shows_modification_date,
405 'pvew' : view,
406 'scda' : shows_creation_date,
407 'vers' : version,
410 _compdeclarations = {
413 _enumdeclarations = {