Teach Windows build and installer about new _symtable module/DLL.
[python/dscho.git] / Mac / Lib / lib-scriptpackages / Finder / Containers_and_folders.py
blobed4ddda37d8de183558270c09f11e529e9deb0f4
1 """Suite Containers and folders: Classes that can contain other file system items
2 Level 1, version 1
4 Generated from Macintosh HD:Systeemmap:Finder
5 AETE/AEUT resource version 0/144, language 0, script 0
6 """
8 import aetools
9 import MacOS
11 _code = 'fndr'
13 class Containers_and_folders_Events:
15 pass
18 class container(aetools.ComponentItem):
19 """container - An item that contains other items """
20 want = 'ctnr'
21 class _3c_Inheritance_3e_(aetools.NProperty):
22 """<Inheritance> - inherits some of its properties from the item class """
23 which = 'c@#^'
24 want = 'cobj'
25 class selection(aetools.NProperty):
26 """selection - the selection visible to the user """
27 which = 'sele'
28 want = 'obj '
29 class entire_contents(aetools.NProperty):
30 """entire contents - the entire contents of the container, including the contents of its children """
31 which = 'ects'
32 want = 'obj '
33 class expandable(aetools.NProperty):
34 """expandable - Is the container capable of being expanded as an outline? """
35 which = 'pexa'
36 want = 'bool'
37 class expanded(aetools.NProperty):
38 """expanded - Is the container opened as an outline? (can only be set for containers viewed as lists) """
39 which = 'pexp'
40 want = 'bool'
41 class completely_expanded(aetools.NProperty):
42 """completely expanded - Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists) """
43 which = 'pexc'
44 want = 'bool'
45 class icon_size(aetools.NProperty):
46 """icon size - the size of icons displayed in the window. Can be specified as a number, or ... """
47 which = 'lvis'
48 want = 'long'
49 # element 'cobj' as ['indx', 'name']
50 # element 'ctnr' as ['indx', 'name']
51 # element 'sctr' as ['indx', 'name']
52 # element 'cfol' as ['indx', 'name', 'ID ']
53 # element 'file' as ['indx', 'name']
54 # element 'alia' as ['indx', 'name']
55 # element 'appf' as ['indx', 'name', 'ID ']
56 # element 'docf' as ['indx', 'name']
57 # element 'fntf' as ['indx', 'name']
58 # element 'dafi' as ['indx', 'name']
59 # element 'inlf' as ['indx', 'name']
60 # element 'sndf' as ['indx', 'name']
61 # element 'clpf' as ['indx', 'name']
62 # element 'pack' as ['indx', 'name']
63 # element 'stcs' as ['indx', 'name']
64 # element 'fsut' as ['indx', 'name']
65 # element 'dsut' as ['indx', 'name']
67 containers = container
69 class sharable_container(aetools.ComponentItem):
70 """sharable container - A container that may be shared (disks and folders) """
71 want = 'sctr'
72 class owner(aetools.NProperty):
73 """owner - the user that owns the container (file sharing must be on to use this property) """
74 which = 'sown'
75 want = 'itxt'
76 class group(aetools.NProperty):
77 """group - the user or group that has special access to the container (file sharing must be on to use this property) """
78 which = 'sgrp'
79 want = 'itxt'
80 class owner_privileges(aetools.NProperty):
81 """owner privileges - the see folders/see files/make changes privileges for the owner (file sharing must be on to use this property) """
82 which = 'ownr'
83 want = 'priv'
84 class group_privileges(aetools.NProperty):
85 """group privileges - the see folders/see files/make changes privileges for the group (file sharing must be on to use this property) """
86 which = 'gppr'
87 want = 'priv'
88 class guest_privileges(aetools.NProperty):
89 """guest privileges - the see folders/see files/make changes privileges for everyone (file sharing must be on to use this property) """
90 which = 'gstp'
91 want = 'priv'
92 class privileges_inherited(aetools.NProperty):
93 """privileges inherited - Are the privileges of the container always the same as the container in which it is stored? (file sharing must be on to use this property) """
94 which = 'iprv'
95 want = 'bool'
96 class mounted(aetools.NProperty):
97 """mounted - Is the container mounted on another machine's desktop? (file sharing must be on to use this property) """
98 which = 'smou'
99 want = 'bool'
100 class exported(aetools.NProperty):
101 """exported - Is the container a share point or inside a share point, i.e., can the container be shared? (file sharing must be on to use this property) """
102 which = 'sexp'
103 want = 'bool'
104 class shared(aetools.NProperty):
105 """shared - Is the container a share point, i.e., is the container currently being shared? (file sharing must be on to use this property) """
106 which = 'shar'
107 want = 'bool'
108 class protected(aetools.NProperty):
109 """protected - Is the container protected from being moved, renamed and deleted? (file sharing must be on to use this property) """
110 which = 'spro'
111 want = 'bool'
112 # element 'cobj' as ['indx', 'name']
113 # element 'ctnr' as ['indx', 'name']
114 # element 'sctr' as ['indx', 'name']
115 # element 'cfol' as ['indx', 'name', 'ID ']
116 # element 'file' as ['indx', 'name']
117 # element 'alia' as ['indx', 'name']
118 # element 'appf' as ['indx', 'name', 'ID ']
119 # element 'docf' as ['indx', 'name']
120 # element 'fntf' as ['indx', 'name']
121 # element 'dafi' as ['indx', 'name']
122 # element 'inlf' as ['indx', 'name']
123 # element 'sndf' as ['indx', 'name']
124 # element 'clpf' as ['indx', 'name']
125 # element 'pack' as ['indx', 'name']
126 # element 'stcs' as ['indx', 'name']
127 # element 'fsut' as ['indx', 'name']
128 # element 'dsut' as ['indx', 'name']
130 sharable_containers = sharable_container
132 class sharing_privileges(aetools.ComponentItem):
133 """sharing privileges - A set of sharing properties (used in sharable containers) """
134 want = 'priv'
135 class see_folders(aetools.NProperty):
136 """see folders - Can folders be seen? """
137 which = 'prvs'
138 want = 'bool'
139 class see_files(aetools.NProperty):
140 """see files - Can files be seen? """
141 which = 'prvr'
142 want = 'bool'
143 class make_changes(aetools.NProperty):
144 """make changes - Can changes be made? """
145 which = 'prvw'
146 want = 'bool'
148 class disk(aetools.ComponentItem):
149 """disk - A disk """
150 want = 'cdis'
151 class capacity(aetools.NProperty):
152 """capacity - the total number of bytes (free or used) on the disk """
153 which = 'capa'
154 want = 'long'
155 class free_space(aetools.NProperty):
156 """free space - the number of free bytes left on the disk """
157 which = 'frsp'
158 want = 'long'
159 class ejectable(aetools.NProperty):
160 """ejectable - Can the media be ejected (floppies, CD's, and so on)? """
161 which = 'isej'
162 want = 'bool'
163 class local_volume(aetools.NProperty):
164 """local volume - Is the media a local volume (as opposed to a file server)? """
165 which = 'isrv'
166 want = 'bool'
167 class startup(aetools.NProperty):
168 """startup - Is this disk the boot disk? """
169 which = 'istd'
170 want = 'bool'
171 # element 'cobj' as ['indx', 'name']
172 # element 'ctnr' as ['indx', 'name']
173 # element 'sctr' as ['indx', 'name']
174 # element 'cfol' as ['indx', 'name', 'ID ']
175 # element 'file' as ['indx', 'name']
176 # element 'alia' as ['indx', 'name']
177 # element 'appf' as ['indx', 'name', 'ID ']
178 # element 'docf' as ['indx', 'name']
179 # element 'fntf' as ['indx', 'name']
180 # element 'dafi' as ['indx', 'name']
181 # element 'inlf' as ['indx', 'name']
182 # element 'sndf' as ['indx', 'name']
183 # element 'clpf' as ['indx', 'name']
184 # element 'pack' as ['indx', 'name']
185 # element 'stcs' as ['indx', 'name']
186 # element 'fsut' as ['indx', 'name']
187 # element 'dsut' as ['indx', 'name']
189 disks = disk
191 class folder(aetools.ComponentItem):
192 """folder - A folder """
193 want = 'cfol'
194 # element 'cobj' as ['indx', 'name']
195 # element 'ctnr' as ['indx', 'name']
196 # element 'sctr' as ['indx', 'name']
197 # element 'cfol' as ['indx', 'name', 'ID ']
198 # element 'file' as ['indx', 'name']
199 # element 'alia' as ['indx', 'name']
200 # element 'appf' as ['indx', 'name', 'ID ']
201 # element 'docf' as ['indx', 'name']
202 # element 'fntf' as ['indx', 'name']
203 # element 'dafi' as ['indx', 'name']
204 # element 'inlf' as ['indx', 'name']
205 # element 'sndf' as ['indx', 'name']
206 # element 'clpf' as ['indx', 'name']
207 # element 'pack' as ['indx', 'name']
208 # element 'stcs' as ['indx', 'name']
209 # element 'fsut' as ['indx', 'name']
210 # element 'dsut' as ['indx', 'name']
212 folders = folder
214 class desktop_2d_object(aetools.ComponentItem):
215 """desktop-object - Desktop-object is the class of the ³desktop² object """
216 want = 'cdsk'
217 class startup_disk(aetools.NProperty):
218 """startup disk - the startup disk """
219 which = 'sdsk'
220 want = 'cdis'
221 class trash(aetools.NProperty):
222 """trash - the trash """
223 which = 'trsh'
224 want = 'ctrs'
225 # element 'cobj' as ['indx', 'name']
226 # element 'ctnr' as ['indx', 'name']
227 # element 'sctr' as ['indx', 'name']
228 # element 'cdis' as ['indx', 'name']
229 # element 'cfol' as ['indx', 'name', 'ID ']
230 # element 'file' as ['indx', 'name']
231 # element 'alia' as ['indx', 'name']
232 # element 'appf' as ['indx', 'name', 'ID ']
233 # element 'docf' as ['indx', 'name']
234 # element 'fntf' as ['indx', 'name']
235 # element 'dafi' as ['indx', 'name']
236 # element 'inlf' as ['indx', 'name']
237 # element 'sndf' as ['indx', 'name']
238 # element 'clpf' as ['indx', 'name']
239 # element 'pack' as ['indx', 'name']
240 # element 'stcs' as ['indx', 'name']
241 # element 'fsut' as ['indx', 'name']
242 # element 'dsut' as ['indx', 'name']
244 class trash_2d_object(aetools.ComponentItem):
245 """trash-object - Trash-object is the class of the ³trash² object """
246 want = 'ctrs'
247 class warns_before_emptying(aetools.NProperty):
248 """warns before emptying - Display a dialog when emptying the trash? """
249 which = 'warn'
250 want = 'bool'
251 # element 'cobj' as ['indx', 'name']
252 # element 'ctnr' as ['indx', 'name']
253 # element 'sctr' as ['indx', 'name']
254 # element 'cfol' as ['indx', 'name', 'ID ']
255 # element 'file' as ['indx', 'name']
256 # element 'alia' as ['indx', 'name']
257 # element 'appf' as ['indx', 'name', 'ID ']
258 # element 'docf' as ['indx', 'name']
259 # element 'fntf' as ['indx', 'name']
260 # element 'dafi' as ['indx', 'name']
261 # element 'inlf' as ['indx', 'name']
262 # element 'sndf' as ['indx', 'name']
263 # element 'clpf' as ['indx', 'name']
264 # element 'pack' as ['indx', 'name']
265 # element 'stcs' as ['indx', 'name']
266 # element 'fsut' as ['indx', 'name']
267 # element 'dsut' as ['indx', 'name']
268 import Earlier_terms
269 import Files_and_suitcases
270 container._propdict = {
271 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
272 'selection' : selection,
273 'entire_contents' : entire_contents,
274 'expandable' : expandable,
275 'expanded' : expanded,
276 'completely_expanded' : completely_expanded,
277 'icon_size' : icon_size,
278 'icon_size' : icon_size,
280 container._elemdict = {
281 'item' : Earlier_terms.item,
282 'container' : container,
283 'sharable_container' : sharable_container,
284 'folder' : folder,
285 'file' : Files_and_suitcases.file,
286 'alias_file' : Files_and_suitcases.alias_file,
287 'application_file' : Earlier_terms.application_file,
288 'document_file' : Files_and_suitcases.document_file,
289 'font_file' : Files_and_suitcases.font_file,
290 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
291 'internet_location' : Earlier_terms.internet_location,
292 'sound_file' : Files_and_suitcases.sound_file,
293 'clipping' : Files_and_suitcases.clipping,
294 'package' : Files_and_suitcases.package,
295 'suitcase' : Files_and_suitcases.suitcase,
296 'font_suitcase' : Files_and_suitcases.font_suitcase,
297 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
299 sharable_container._propdict = {
300 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
301 'owner' : owner,
302 'group' : group,
303 'owner_privileges' : owner_privileges,
304 'group_privileges' : group_privileges,
305 'guest_privileges' : guest_privileges,
306 'privileges_inherited' : privileges_inherited,
307 'mounted' : mounted,
308 'exported' : exported,
309 'shared' : shared,
310 'protected' : protected,
312 sharable_container._elemdict = {
313 'item' : Earlier_terms.item,
314 'container' : container,
315 'sharable_container' : sharable_container,
316 'folder' : folder,
317 'file' : Files_and_suitcases.file,
318 'alias_file' : Files_and_suitcases.alias_file,
319 'application_file' : Earlier_terms.application_file,
320 'document_file' : Files_and_suitcases.document_file,
321 'font_file' : Files_and_suitcases.font_file,
322 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
323 'internet_location' : Earlier_terms.internet_location,
324 'sound_file' : Files_and_suitcases.sound_file,
325 'clipping' : Files_and_suitcases.clipping,
326 'package' : Files_and_suitcases.package,
327 'suitcase' : Files_and_suitcases.suitcase,
328 'font_suitcase' : Files_and_suitcases.font_suitcase,
329 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
331 sharing_privileges._propdict = {
332 'see_folders' : see_folders,
333 'see_files' : see_files,
334 'make_changes' : make_changes,
336 sharing_privileges._elemdict = {
338 disk._propdict = {
339 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
340 'capacity' : capacity,
341 'free_space' : free_space,
342 'ejectable' : ejectable,
343 'local_volume' : local_volume,
344 'startup' : startup,
346 disk._elemdict = {
347 'item' : Earlier_terms.item,
348 'container' : container,
349 'sharable_container' : sharable_container,
350 'folder' : folder,
351 'file' : Files_and_suitcases.file,
352 'alias_file' : Files_and_suitcases.alias_file,
353 'application_file' : Earlier_terms.application_file,
354 'document_file' : Files_and_suitcases.document_file,
355 'font_file' : Files_and_suitcases.font_file,
356 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
357 'internet_location' : Earlier_terms.internet_location,
358 'sound_file' : Files_and_suitcases.sound_file,
359 'clipping' : Files_and_suitcases.clipping,
360 'package' : Files_and_suitcases.package,
361 'suitcase' : Files_and_suitcases.suitcase,
362 'font_suitcase' : Files_and_suitcases.font_suitcase,
363 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
365 folder._propdict = {
366 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
368 folder._elemdict = {
369 'item' : Earlier_terms.item,
370 'container' : container,
371 'sharable_container' : sharable_container,
372 'folder' : folder,
373 'file' : Files_and_suitcases.file,
374 'alias_file' : Files_and_suitcases.alias_file,
375 'application_file' : Earlier_terms.application_file,
376 'document_file' : Files_and_suitcases.document_file,
377 'font_file' : Files_and_suitcases.font_file,
378 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
379 'internet_location' : Earlier_terms.internet_location,
380 'sound_file' : Files_and_suitcases.sound_file,
381 'clipping' : Files_and_suitcases.clipping,
382 'package' : Files_and_suitcases.package,
383 'suitcase' : Files_and_suitcases.suitcase,
384 'font_suitcase' : Files_and_suitcases.font_suitcase,
385 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
387 desktop_2d_object._propdict = {
388 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
389 'startup_disk' : startup_disk,
390 'trash' : trash,
392 desktop_2d_object._elemdict = {
393 'item' : Earlier_terms.item,
394 'container' : container,
395 'sharable_container' : sharable_container,
396 'disk' : disk,
397 'folder' : folder,
398 'file' : Files_and_suitcases.file,
399 'alias_file' : Files_and_suitcases.alias_file,
400 'application_file' : Earlier_terms.application_file,
401 'document_file' : Files_and_suitcases.document_file,
402 'font_file' : Files_and_suitcases.font_file,
403 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
404 'internet_location' : Earlier_terms.internet_location,
405 'sound_file' : Files_and_suitcases.sound_file,
406 'clipping' : Files_and_suitcases.clipping,
407 'package' : Files_and_suitcases.package,
408 'suitcase' : Files_and_suitcases.suitcase,
409 'font_suitcase' : Files_and_suitcases.font_suitcase,
410 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
412 trash_2d_object._propdict = {
413 '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
414 'warns_before_emptying' : warns_before_emptying,
416 trash_2d_object._elemdict = {
417 'item' : Earlier_terms.item,
418 'container' : container,
419 'sharable_container' : sharable_container,
420 'folder' : folder,
421 'file' : Files_and_suitcases.file,
422 'alias_file' : Files_and_suitcases.alias_file,
423 'application_file' : Earlier_terms.application_file,
424 'document_file' : Files_and_suitcases.document_file,
425 'font_file' : Files_and_suitcases.font_file,
426 'desk_accessory_file' : Files_and_suitcases.desk_accessory_file,
427 'internet_location' : Earlier_terms.internet_location,
428 'sound_file' : Files_and_suitcases.sound_file,
429 'clipping' : Files_and_suitcases.clipping,
430 'package' : Files_and_suitcases.package,
431 'suitcase' : Files_and_suitcases.suitcase,
432 'font_suitcase' : Files_and_suitcases.font_suitcase,
433 'accessory_suitcase' : Earlier_terms.accessory_suitcase,
437 # Indices of types declared in this module
439 _classdeclarations = {
440 'priv' : sharing_privileges,
441 'cfol' : folder,
442 'cdis' : disk,
443 'sctr' : sharable_container,
444 'ctnr' : container,
445 'cdsk' : desktop_2d_object,
446 'ctrs' : trash_2d_object,
449 _propdeclarations = {
450 'ownr' : owner_privileges,
451 'spro' : protected,
452 'frsp' : free_space,
453 'sgrp' : group,
454 'pexc' : completely_expanded,
455 'sele' : selection,
456 'smou' : mounted,
457 'pexa' : expandable,
458 'istd' : startup,
459 'sdsk' : startup_disk,
460 'gppr' : group_privileges,
461 'shar' : shared,
462 'capa' : capacity,
463 'isej' : ejectable,
464 'gstp' : guest_privileges,
465 'warn' : warns_before_emptying,
466 'sown' : owner,
467 'c@#^' : _3c_Inheritance_3e_,
468 'sexp' : exported,
469 'isrv' : local_volume,
470 'iprv' : privileges_inherited,
471 'lvis' : icon_size,
472 'trsh' : trash,
473 'prvs' : see_folders,
474 'prvr' : see_files,
475 'prvw' : make_changes,
476 'pexp' : expanded,
477 'ects' : entire_contents,
480 _compdeclarations = {
483 _enumdeclarations = {