summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/lib-scriptpackages/Finder
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Finder')
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py220
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/Earlier_terms.py148
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py80
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/Files_and_suitcases.py224
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py76
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py142
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py196
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py256
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Finder/__init__.py96
9 files changed, 719 insertions, 719 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py b/Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py
index a22ee10..4868fc7 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py
@@ -70,52 +70,21 @@ class view_options_window(aetools.NProperty):
containers = container
-class sharable_container(aetools.ComponentItem):
- """sharable container - A container that may be shared (disks and folders) """
- want = 'sctr'
-class owner(aetools.NProperty):
- """owner - the user that owns the container (file sharing must be on to use this property) """
- which = 'sown'
- want = 'itxt'
-class group(aetools.NProperty):
- """group - the user or group that has special access to the container (file sharing must be on to use this property) """
- which = 'sgrp'
- want = 'itxt'
-class owner_privileges(aetools.NProperty):
- """owner privileges - the see folders/see files/make changes privileges for the owner (file sharing must be on to use this property) """
- which = 'ownr'
- want = 'priv'
-class group_privileges(aetools.NProperty):
- """group privileges - the see folders/see files/make changes privileges for the group (file sharing must be on to use this property) """
- which = 'gppr'
- want = 'priv'
-class guest_privileges(aetools.NProperty):
- """guest privileges - the see folders/see files/make changes privileges for everyone (file sharing must be on to use this property) """
- which = 'gstp'
- want = 'priv'
-class privileges_inherited(aetools.NProperty):
- """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) """
- which = 'iprv'
- want = 'bool'
-class mounted(aetools.NProperty):
- """mounted - Is the container mounted on another machine's desktop? (file sharing must be on to use this property) """
- which = 'smou'
- want = 'bool'
-class exported(aetools.NProperty):
- """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) """
- which = 'sexp'
- want = 'bool'
-class shared(aetools.NProperty):
- """shared - Is the container a share point, i.e., is the container currently being shared? (file sharing must be on to use this property) """
- which = 'shar'
- want = 'bool'
-class protected(aetools.NProperty):
- """protected - Is the container protected from being moved, renamed and deleted? (file sharing must be on to use this property) """
- which = 'spro'
- want = 'bool'
+class desktop_2d_object(aetools.ComponentItem):
+ """desktop-object - Desktop-object is the class of the \xd2desktop\xd3 object """
+ want = 'cdsk'
+class startup_disk(aetools.NProperty):
+ """startup disk - the startup disk """
+ which = 'sdsk'
+ want = 'cdis'
+class trash(aetools.NProperty):
+ """trash - the trash """
+ which = 'trsh'
+ want = 'ctrs'
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
# element 'sctr' as ['indx', 'name']
+# element 'cdis' as ['indx', 'name']
# element 'cfol' as ['indx', 'name', 'ID ']
# element 'file' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
@@ -131,24 +100,6 @@ class protected(aetools.NProperty):
# element 'fsut' as ['indx', 'name']
# element 'dsut' as ['indx', 'name']
-sharable_containers = sharable_container
-
-class sharing_privileges(aetools.ComponentItem):
- """sharing privileges - A set of sharing properties (used in sharable containers) """
- want = 'priv'
-class see_folders(aetools.NProperty):
- """see folders - Can folders be seen? """
- which = 'prvs'
- want = 'bool'
-class see_files(aetools.NProperty):
- """see files - Can files be seen? """
- which = 'prvr'
- want = 'bool'
-class make_changes(aetools.NProperty):
- """make changes - Can changes be made? """
- which = 'prvw'
- want = 'bool'
-
class disk(aetools.ComponentItem):
"""disk - A disk """
want = 'cdis'
@@ -215,21 +166,52 @@ class folder(aetools.ComponentItem):
folders = folder
-class desktop_2d_object(aetools.ComponentItem):
- """desktop-object - Desktop-object is the class of the \xd2desktop\xd3 object """
- want = 'cdsk'
-class startup_disk(aetools.NProperty):
- """startup disk - the startup disk """
- which = 'sdsk'
- want = 'cdis'
-class trash(aetools.NProperty):
- """trash - the trash """
- which = 'trsh'
- want = 'ctrs'
+class sharable_container(aetools.ComponentItem):
+ """sharable container - A container that may be shared (disks and folders) """
+ want = 'sctr'
+class owner(aetools.NProperty):
+ """owner - the user that owns the container (file sharing must be on to use this property) """
+ which = 'sown'
+ want = 'itxt'
+class group(aetools.NProperty):
+ """group - the user or group that has special access to the container (file sharing must be on to use this property) """
+ which = 'sgrp'
+ want = 'itxt'
+class owner_privileges(aetools.NProperty):
+ """owner privileges - the see folders/see files/make changes privileges for the owner (file sharing must be on to use this property) """
+ which = 'ownr'
+ want = 'priv'
+class group_privileges(aetools.NProperty):
+ """group privileges - the see folders/see files/make changes privileges for the group (file sharing must be on to use this property) """
+ which = 'gppr'
+ want = 'priv'
+class guest_privileges(aetools.NProperty):
+ """guest privileges - the see folders/see files/make changes privileges for everyone (file sharing must be on to use this property) """
+ which = 'gstp'
+ want = 'priv'
+class privileges_inherited(aetools.NProperty):
+ """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) """
+ which = 'iprv'
+ want = 'bool'
+class mounted(aetools.NProperty):
+ """mounted - Is the container mounted on another machine's desktop? (file sharing must be on to use this property) """
+ which = 'smou'
+ want = 'bool'
+class exported(aetools.NProperty):
+ """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) """
+ which = 'sexp'
+ want = 'bool'
+class shared(aetools.NProperty):
+ """shared - Is the container a share point, i.e., is the container currently being shared? (file sharing must be on to use this property) """
+ which = 'shar'
+ want = 'bool'
+class protected(aetools.NProperty):
+ """protected - Is the container protected from being moved, renamed and deleted? (file sharing must be on to use this property) """
+ which = 'spro'
+ want = 'bool'
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
# element 'sctr' as ['indx', 'name']
-# element 'cdis' as ['indx', 'name']
# element 'cfol' as ['indx', 'name', 'ID ']
# element 'file' as ['indx', 'name']
# element 'alia' as ['indx', 'name']
@@ -245,6 +227,24 @@ class trash(aetools.NProperty):
# element 'fsut' as ['indx', 'name']
# element 'dsut' as ['indx', 'name']
+sharable_containers = sharable_container
+
+class sharing_privileges(aetools.ComponentItem):
+ """sharing privileges - A set of sharing properties (used in sharable containers) """
+ want = 'priv'
+class see_folders(aetools.NProperty):
+ """see folders - Can folders be seen? """
+ which = 'prvs'
+ want = 'bool'
+class see_files(aetools.NProperty):
+ """see files - Can files be seen? """
+ which = 'prvr'
+ want = 'bool'
+class make_changes(aetools.NProperty):
+ """make changes - Can changes be made? """
+ which = 'prvw'
+ want = 'bool'
+
class trash_2d_object(aetools.ComponentItem):
"""trash-object - Trash-object is the class of the \xd2trash\xd3 object """
want = 'ctrs'
@@ -302,24 +302,17 @@ container._privelemdict = {
'font_suitcase' : Files_and_suitcases.font_suitcase,
'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
-sharable_container._superclassnames = ['container']
-sharable_container._privpropdict = {
+desktop_2d_object._superclassnames = ['container']
+desktop_2d_object._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'owner' : owner,
- 'group' : group,
- 'owner_privileges' : owner_privileges,
- 'group_privileges' : group_privileges,
- 'guest_privileges' : guest_privileges,
- 'privileges_inherited' : privileges_inherited,
- 'mounted' : mounted,
- 'exported' : exported,
- 'shared' : shared,
- 'protected' : protected,
+ 'startup_disk' : startup_disk,
+ 'trash' : trash,
}
-sharable_container._privelemdict = {
+desktop_2d_object._privelemdict = {
'item' : Earlier_terms.item,
'container' : container,
'sharable_container' : sharable_container,
+ 'disk' : disk,
'folder' : folder,
'file' : Files_and_suitcases.file,
'alias_file' : Files_and_suitcases.alias_file,
@@ -335,14 +328,6 @@ sharable_container._privelemdict = {
'font_suitcase' : Files_and_suitcases.font_suitcase,
'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
-sharing_privileges._superclassnames = []
-sharing_privileges._privpropdict = {
- 'see_folders' : see_folders,
- 'see_files' : see_files,
- 'make_changes' : make_changes,
-}
-sharing_privileges._privelemdict = {
-}
disk._superclassnames = ['sharable_container']
disk._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
@@ -394,17 +379,24 @@ folder._privelemdict = {
'font_suitcase' : Files_and_suitcases.font_suitcase,
'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
-desktop_2d_object._superclassnames = ['container']
-desktop_2d_object._privpropdict = {
+sharable_container._superclassnames = ['container']
+sharable_container._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'startup_disk' : startup_disk,
- 'trash' : trash,
+ 'owner' : owner,
+ 'group' : group,
+ 'owner_privileges' : owner_privileges,
+ 'group_privileges' : group_privileges,
+ 'guest_privileges' : guest_privileges,
+ 'privileges_inherited' : privileges_inherited,
+ 'mounted' : mounted,
+ 'exported' : exported,
+ 'shared' : shared,
+ 'protected' : protected,
}
-desktop_2d_object._privelemdict = {
+sharable_container._privelemdict = {
'item' : Earlier_terms.item,
'container' : container,
'sharable_container' : sharable_container,
- 'disk' : disk,
'folder' : folder,
'file' : Files_and_suitcases.file,
'alias_file' : Files_and_suitcases.alias_file,
@@ -420,6 +412,14 @@ desktop_2d_object._privelemdict = {
'font_suitcase' : Files_and_suitcases.font_suitcase,
'accessory_suitcase' : Earlier_terms.accessory_suitcase,
}
+sharing_privileges._superclassnames = []
+sharing_privileges._privpropdict = {
+ 'see_folders' : see_folders,
+ 'see_files' : see_files,
+ 'make_changes' : make_changes,
+}
+sharing_privileges._privelemdict = {
+}
trash_2d_object._superclassnames = ['container']
trash_2d_object._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
@@ -452,21 +452,21 @@ _classdeclarations = {
'ctrs' : trash_2d_object,
'cdsk' : desktop_2d_object,
'sctr' : sharable_container,
- 'priv' : sharing_privileges,
'cdis' : disk,
- 'cfol' : folder,
'ctnr' : container,
+ 'cfol' : folder,
+ 'priv' : sharing_privileges,
}
_propdeclarations = {
'pexp' : expanded,
- 'gppr' : group_privileges,
- 'prvr' : see_files,
+ 'iprv' : privileges_inherited,
+ 'gstp' : guest_privileges,
'ects' : entire_contents,
'lvis' : icon_size,
- 'iprv' : privileges_inherited,
+ 'gppr' : group_privileges,
'isrv' : local_volume,
- 'frsp' : free_space,
+ 'prvs' : see_folders,
'pexa' : expandable,
'pexc' : completely_expanded,
'vwnd' : view_options_window,
@@ -479,13 +479,13 @@ _propdeclarations = {
'sexp' : exported,
'sdsk' : startup_disk,
'istd' : startup,
- 'gstp' : guest_privileges,
- 'trsh' : trash,
+ 'prvr' : see_files,
+ 'c@#^' : _3c_Inheritance_3e_,
'smou' : mounted,
'sele' : selection,
- 'prvs' : see_folders,
+ 'trsh' : trash,
'sgrp' : group,
- 'c@#^' : _3c_Inheritance_3e_,
+ 'frsp' : free_space,
'spro' : protected,
'ownr' : owner_privileges,
}
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Earlier_terms.py b/Lib/plat-mac/lib-scriptpackages/Finder/Earlier_terms.py
index 7dbc705..aef824b 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/Earlier_terms.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/Earlier_terms.py
@@ -16,6 +16,18 @@ class Earlier_terms_Events(Type_Names_Suite_Events):
pass
+class accessory_process(aetools.ComponentItem):
+ """accessory process - A process launched from a desk accessory file """
+ want = 'pcda'
+
+accessory_processes = accessory_process
+
+class accessory_suitcase(aetools.ComponentItem):
+ """accessory suitcase - A desk accessory suitcase """
+ want = 'dsut'
+
+accessory_suitcases = accessory_suitcase
+
class application(aetools.ComponentItem):
"""application - The Finder """
want = 'capp'
@@ -176,24 +188,6 @@ class use_relative_dates(aetools.NProperty):
which = 'urdt'
want = 'bool'
-class accessory_process(aetools.ComponentItem):
- """accessory process - A process launched from a desk accessory file """
- want = 'pcda'
-
-accessory_processes = accessory_process
-
-class accessory_suitcase(aetools.ComponentItem):
- """accessory suitcase - A desk accessory suitcase """
- want = 'dsut'
-
-accessory_suitcases = accessory_suitcase
-
-class internet_location(aetools.ComponentItem):
- """internet location - An file containing an internet location """
- want = 'inlf'
-
-internet_locations = internet_location
-
class information_window(aetools.ComponentItem):
"""information window - An information window (opened by \xd2Get Info\xd3) """
want = 'iwnd'
@@ -234,6 +228,12 @@ class warn_before_emptying(aetools.NProperty):
which = 'warn'
want = 'bool'
+class internet_location(aetools.ComponentItem):
+ """internet location - An file containing an internet location """
+ want = 'inlf'
+
+internet_locations = internet_location
+
class item(aetools.ComponentItem):
"""item - An item """
want = 'cobj'
@@ -290,6 +290,26 @@ class information_window(aetools.NProperty):
which = 'iwnd'
want = 'obj '
+class preferences(aetools.ComponentItem):
+ """preferences - The Finder Preferences """
+ want = 'cprf'
+class delay_before_springing(aetools.NProperty):
+ """delay before springing - the delay before springing open a container in ticks (1/60th of a second) (12 is shortest delay, 60 is longest delay) """
+ which = 'dela'
+ want = 'shor'
+class spring_open_folders(aetools.NProperty):
+ """spring open folders - Spring open folders after the specified delay? """
+ which = 'sprg'
+ want = 'bool'
+class use_simple_menus(aetools.NProperty):
+ """use simple menus - Use simplified Finder menus? """
+ which = 'usme'
+ want = 'bool'
+class use_wide_grid(aetools.NProperty):
+ """use wide grid - Space icons on a wide grid? """
+ which = 'uswg'
+ want = 'bool'
+
class process(aetools.ComponentItem):
"""process - A process running on this computer """
want = 'prcs'
@@ -362,26 +382,6 @@ class trash_2d_object(aetools.ComponentItem):
"""trash-object - Trash-object is the class of the \xd2trash\xd3 object """
want = 'ctrs'
-class preferences(aetools.ComponentItem):
- """preferences - The Finder Preferences """
- want = 'cprf'
-class delay_before_springing(aetools.NProperty):
- """delay before springing - the delay before springing open a container in ticks (1/60th of a second) (12 is shortest delay, 60 is longest delay) """
- which = 'dela'
- want = 'shor'
-class spring_open_folders(aetools.NProperty):
- """spring open folders - Spring open folders after the specified delay? """
- which = 'sprg'
- want = 'bool'
-class use_simple_menus(aetools.NProperty):
- """use simple menus - Use simplified Finder menus? """
- which = 'usme'
- want = 'bool'
-class use_wide_grid(aetools.NProperty):
- """use wide grid - Space icons on a wide grid? """
- which = 'uswg'
- want = 'bool'
-
class window(aetools.ComponentItem):
"""window - A window """
want = 'cwin'
@@ -429,6 +429,16 @@ class collapsed(aetools.NProperty):
"""collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """
which = 'wshd'
want = 'bool'
+accessory_process._superclassnames = []
+accessory_process._privpropdict = {
+}
+accessory_process._privelemdict = {
+}
+accessory_suitcase._superclassnames = []
+accessory_suitcase._privpropdict = {
+}
+accessory_suitcase._privelemdict = {
+}
application._superclassnames = []
application._privpropdict = {
'properties' : properties,
@@ -483,21 +493,6 @@ container_window._privpropdict = {
}
container_window._privelemdict = {
}
-accessory_process._superclassnames = []
-accessory_process._privpropdict = {
-}
-accessory_process._privelemdict = {
-}
-accessory_suitcase._superclassnames = []
-accessory_suitcase._privpropdict = {
-}
-accessory_suitcase._privelemdict = {
-}
-internet_location._superclassnames = []
-internet_location._privpropdict = {
-}
-internet_location._privelemdict = {
-}
information_window._superclassnames = ['window']
information_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
@@ -519,6 +514,11 @@ information_window._privpropdict = {
}
information_window._privelemdict = {
}
+internet_location._superclassnames = []
+internet_location._privpropdict = {
+}
+internet_location._privelemdict = {
+}
item._superclassnames = []
item._privpropdict = {
'properties' : properties,
@@ -546,6 +546,25 @@ item._privpropdict = {
}
item._privelemdict = {
}
+preferences._superclassnames = []
+preferences._privpropdict = {
+ 'window' : window,
+ 'calculate_folder_sizes' : calculate_folder_sizes,
+ 'delay_before_springing' : delay_before_springing,
+ 'show_comments' : show_comments,
+ 'show_creation_date' : show_creation_date,
+ 'show_kind' : show_kind,
+ 'show_label' : show_label,
+ 'show_modification_date' : show_modification_date,
+ 'show_size' : show_size,
+ 'show_version' : show_version,
+ 'spring_open_folders' : spring_open_folders,
+ 'use_relative_dates' : use_relative_dates,
+ 'use_simple_menus' : use_simple_menus,
+ 'use_wide_grid' : use_wide_grid,
+}
+preferences._privelemdict = {
+}
process._superclassnames = []
process._privpropdict = {
'properties' : properties,
@@ -586,25 +605,6 @@ trash_2d_object._privpropdict = {
}
trash_2d_object._privelemdict = {
}
-preferences._superclassnames = []
-preferences._privpropdict = {
- 'window' : window,
- 'calculate_folder_sizes' : calculate_folder_sizes,
- 'delay_before_springing' : delay_before_springing,
- 'show_comments' : show_comments,
- 'show_creation_date' : show_creation_date,
- 'show_kind' : show_kind,
- 'show_label' : show_label,
- 'show_modification_date' : show_modification_date,
- 'show_size' : show_size,
- 'show_version' : show_version,
- 'spring_open_folders' : spring_open_folders,
- 'use_relative_dates' : use_relative_dates,
- 'use_simple_menus' : use_simple_menus,
- 'use_wide_grid' : use_wide_grid,
-}
-preferences._privelemdict = {
-}
window._superclassnames = []
window._privpropdict = {
'properties' : properties,
@@ -632,11 +632,11 @@ window._privelemdict = {
# Indices of types declared in this module
#
_classdeclarations = {
+ 'ctrs' : trash_2d_object,
'dsut' : accessory_suitcase,
'cprf' : preferences,
- 'sctr' : sharable_container,
'capp' : application,
- 'ctrs' : trash_2d_object,
+ 'sctr' : sharable_container,
'pcda' : accessory_process,
'cwin' : window,
'iwnd' : information_window,
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py b/Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py
index dc608e2..ba333fb 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/Enumerations.py
@@ -15,6 +15,37 @@ class Enumerations_Events(Type_Names_Suite_Events):
pass
+_Enum_earr = {
+ 'not_arranged' : 'narr', #
+ 'snap_to_grid' : 'grda', #
+ 'arranged_by_name' : 'nama', #
+ 'arranged_by_modification_date' : 'mdta', #
+ 'arranged_by_creation_date' : 'cdta', #
+ 'arranged_by_size' : 'siza', #
+ 'arranged_by_kind' : 'kina', #
+ 'arranged_by_label' : 'laba', #
+}
+
+_Enum_ese0 = {
+ 'starting_up' : 'ese2', #
+ 'running' : 'ese3', #
+ 'rebuilding_desktop' : 'ese5', #
+ 'copying' : 'ese4', #
+ 'restarting' : 'ese6', #
+ 'quitting' : 'ese7', #
+}
+
+_Enum_gsen = {
+ 'CPU' : 'proc', #
+ 'FPU' : 'fpu ', #
+ 'MMU' : 'mmu ', #
+ 'hardware' : 'hdwr', #
+ 'operating_system' : 'os ', #
+ 'sound_system' : 'snd ', #
+ 'memory_available' : 'lram', #
+ 'memory_installed' : 'ram ', #
+}
+
_Enum_ipnl = {
'General_Information_panel' : 'gpnl', #
'Sharing_panel' : 'spnl', #
@@ -23,6 +54,12 @@ _Enum_ipnl = {
'Fonts_panel' : 'fpnl', #
}
+_Enum_isiz = {
+ 'mini' : 'miic', #
+ 'small' : 'smic', #
+ 'large' : 'lgic', #
+}
+
_Enum_pple = {
'General_Preferences_panel' : 'pgnp', #
'Label_Preferences_panel' : 'plbp', #
@@ -31,28 +68,11 @@ _Enum_pple = {
'List_View_Preferences_panel' : 'plvp', #
}
-_Enum_earr = {
- 'not_arranged' : 'narr', #
- 'snap_to_grid' : 'grda', #
- 'arranged_by_name' : 'nama', #
- 'arranged_by_modification_date' : 'mdta', #
- 'arranged_by_creation_date' : 'cdta', #
- 'arranged_by_size' : 'siza', #
- 'arranged_by_kind' : 'kina', #
- 'arranged_by_label' : 'laba', #
-}
-
_Enum_sodr = {
'normal' : 'snrm', #
'reversed' : 'srvs', #
}
-_Enum_isiz = {
- 'mini' : 'miic', #
- 'small' : 'smic', #
- 'large' : 'lgic', #
-}
-
_Enum_vwby = {
'conflicts' : 'cflc', #
'existing_items' : 'exsi', #
@@ -72,26 +92,6 @@ _Enum_vwby = {
'all' : 'kyal', #
}
-_Enum_gsen = {
- 'CPU' : 'proc', #
- 'FPU' : 'fpu ', #
- 'MMU' : 'mmu ', #
- 'hardware' : 'hdwr', #
- 'operating_system' : 'os ', #
- 'sound_system' : 'snd ', #
- 'memory_available' : 'lram', #
- 'memory_installed' : 'ram ', #
-}
-
-_Enum_ese0 = {
- 'starting_up' : 'ese2', #
- 'running' : 'ese3', #
- 'rebuilding_desktop' : 'ese5', #
- 'copying' : 'ese4', #
- 'restarting' : 'ese6', #
- 'quitting' : 'ese7', #
-}
-
#
# Indices of types declared in this module
@@ -106,12 +106,12 @@ _compdeclarations = {
}
_enumdeclarations = {
- 'sodr' : _Enum_sodr,
'ipnl' : _Enum_ipnl,
+ 'sodr' : _Enum_sodr,
+ 'pple' : _Enum_pple,
'ese0' : _Enum_ese0,
'vwby' : _Enum_vwby,
- 'gsen' : _Enum_gsen,
'isiz' : _Enum_isiz,
'earr' : _Enum_earr,
- 'pple' : _Enum_pple,
+ 'gsen' : _Enum_gsen,
}
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Files_and_suitcases.py b/Lib/plat-mac/lib-scriptpackages/Finder/Files_and_suitcases.py
index 92edd23..6f41754 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/Files_and_suitcases.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/Files_and_suitcases.py
@@ -15,43 +15,13 @@ class Files_and_suitcases_Events:
pass
-class file(aetools.ComponentItem):
- """file - A file """
- want = 'file'
-class _3c_Inheritance_3e_(aetools.NProperty):
- """<Inheritance> - inherits some of its properties from the item class """
- which = 'c@#^'
- want = 'cobj'
-class file_type(aetools.NProperty):
- """file type - the OSType identifying the type of data contained in the item """
- which = 'asty'
- want = 'type'
-class creator_type(aetools.NProperty):
- """creator type - the OSType identifying the application that created the item """
- which = 'fcrt'
- want = 'type'
-class locked(aetools.NProperty):
- """locked - Is the file locked? """
- which = 'aslk'
- want = 'bool'
-class stationery(aetools.NProperty):
- """stationery - Is the file a stationery pad? """
- which = 'pspd'
- want = 'bool'
-class product_version(aetools.NProperty):
- """product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """
- which = 'ver2'
- want = 'itxt'
-class version(aetools.NProperty):
- """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
- which = 'vers'
- want = 'itxt'
-
-files = file
-
class alias_file(aetools.ComponentItem):
"""alias file - An alias file (created with \xd2Make Alias\xd3) """
want = 'alia'
+class _3c_Inheritance_3e_(aetools.NProperty):
+ """<Inheritance> - inherits some of its properties from the file class """
+ which = 'c@#^'
+ want = 'file'
class original_item(aetools.NProperty):
"""original item - the original item pointed to by the alias """
which = 'orig'
@@ -85,23 +55,73 @@ class has_scripting_terminology(aetools.NProperty):
application_files = application_file
+class clipping(aetools.ComponentItem):
+ """clipping - A clipping """
+ want = 'clpf'
+
+clippings = clipping
+
+class desk_accessory_file(aetools.ComponentItem):
+ """desk accessory file - A desk accessory file """
+ want = 'dafi'
+
+desk_accessory_files = desk_accessory_file
+
+class desk_accessory_suitcase(aetools.ComponentItem):
+ """desk accessory suitcase - A desk accessory suitcase """
+ want = 'dsut'
+# element 'cobj' as ['indx', 'name']
+
+desk_accessory_suitcases = desk_accessory_suitcase
+
class document_file(aetools.ComponentItem):
"""document file - A document file """
want = 'docf'
document_files = document_file
+class file(aetools.ComponentItem):
+ """file - A file """
+ want = 'file'
+class file_type(aetools.NProperty):
+ """file type - the OSType identifying the type of data contained in the item """
+ which = 'asty'
+ want = 'type'
+class creator_type(aetools.NProperty):
+ """creator type - the OSType identifying the application that created the item """
+ which = 'fcrt'
+ want = 'type'
+class locked(aetools.NProperty):
+ """locked - Is the file locked? """
+ which = 'aslk'
+ want = 'bool'
+class stationery(aetools.NProperty):
+ """stationery - Is the file a stationery pad? """
+ which = 'pspd'
+ want = 'bool'
+class product_version(aetools.NProperty):
+ """product version - the version of the product (visible at the top of the \xd2Get Info\xd3 window) """
+ which = 'ver2'
+ want = 'itxt'
+class version(aetools.NProperty):
+ """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """
+ which = 'vers'
+ want = 'itxt'
+
+files = file
+
class font_file(aetools.ComponentItem):
"""font file - A font file """
want = 'fntf'
font_files = font_file
-class desk_accessory_file(aetools.ComponentItem):
- """desk accessory file - A desk accessory file """
- want = 'dafi'
+class font_suitcase(aetools.ComponentItem):
+ """font suitcase - A font suitcase """
+ want = 'fsut'
+# element 'cobj' as ['indx', 'name']
-desk_accessory_files = desk_accessory_file
+font_suitcases = font_suitcase
class internet_location_file(aetools.ComponentItem):
"""internet location file - An file containing an internet location """
@@ -113,6 +133,12 @@ class location(aetools.NProperty):
internet_location_files = internet_location_file
+class package(aetools.ComponentItem):
+ """package - A package """
+ want = 'pack'
+
+packages = package
+
class sound_file(aetools.ComponentItem):
"""sound file - A sound file """
want = 'sndf'
@@ -123,51 +149,12 @@ class sound(aetools.NProperty):
sound_files = sound_file
-class clipping(aetools.ComponentItem):
- """clipping - A clipping """
- want = 'clpf'
-
-clippings = clipping
-
-class package(aetools.ComponentItem):
- """package - A package """
- want = 'pack'
-
-packages = package
-
class suitcase(aetools.ComponentItem):
"""suitcase - A font or desk accessory suitcase """
want = 'stcs'
# element 'cobj' as ['indx', 'name']
suitcases = suitcase
-
-class font_suitcase(aetools.ComponentItem):
- """font suitcase - A font suitcase """
- want = 'fsut'
-# element 'cobj' as ['indx', 'name']
-
-font_suitcases = font_suitcase
-
-class desk_accessory_suitcase(aetools.ComponentItem):
- """desk accessory suitcase - A desk accessory suitcase """
- want = 'dsut'
-# element 'cobj' as ['indx', 'name']
-
-desk_accessory_suitcases = desk_accessory_suitcase
-import Earlier_terms
-file._superclassnames = ['item']
-file._privpropdict = {
- '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'file_type' : file_type,
- 'creator_type' : creator_type,
- 'locked' : locked,
- 'stationery' : stationery,
- 'product_version' : product_version,
- 'version' : version,
-}
-file._privelemdict = {
-}
alias_file._superclassnames = ['file']
alias_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
@@ -186,23 +173,56 @@ application_file._privpropdict = {
}
application_file._privelemdict = {
}
+clipping._superclassnames = ['file']
+clipping._privpropdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+}
+clipping._privelemdict = {
+}
+desk_accessory_file._superclassnames = ['file']
+desk_accessory_file._privpropdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+}
+desk_accessory_file._privelemdict = {
+}
+desk_accessory_suitcase._superclassnames = ['suitcase']
+import Earlier_terms
+desk_accessory_suitcase._privpropdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+}
+desk_accessory_suitcase._privelemdict = {
+ 'item' : Earlier_terms.item,
+}
document_file._superclassnames = ['file']
document_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
document_file._privelemdict = {
}
+file._superclassnames = ['item']
+file._privpropdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+ 'file_type' : file_type,
+ 'creator_type' : creator_type,
+ 'locked' : locked,
+ 'stationery' : stationery,
+ 'product_version' : product_version,
+ 'version' : version,
+}
+file._privelemdict = {
+}
font_file._superclassnames = ['file']
font_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
font_file._privelemdict = {
}
-desk_accessory_file._superclassnames = ['file']
-desk_accessory_file._privpropdict = {
+font_suitcase._superclassnames = ['suitcase']
+font_suitcase._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
-desk_accessory_file._privelemdict = {
+font_suitcase._privelemdict = {
+ 'item' : Earlier_terms.item,
}
internet_location_file._superclassnames = ['file']
internet_location_file._privpropdict = {
@@ -211,6 +231,12 @@ internet_location_file._privpropdict = {
}
internet_location_file._privelemdict = {
}
+package._superclassnames = ['item']
+package._privpropdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+}
+package._privelemdict = {
+}
sound_file._superclassnames = ['file']
sound_file._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
@@ -218,18 +244,6 @@ sound_file._privpropdict = {
}
sound_file._privelemdict = {
}
-clipping._superclassnames = ['file']
-clipping._privpropdict = {
- '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
-}
-clipping._privelemdict = {
-}
-package._superclassnames = ['item']
-package._privpropdict = {
- '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
-}
-package._privelemdict = {
-}
suitcase._superclassnames = ['file']
suitcase._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
@@ -237,20 +251,6 @@ suitcase._privpropdict = {
suitcase._privelemdict = {
'item' : Earlier_terms.item,
}
-font_suitcase._superclassnames = ['suitcase']
-font_suitcase._privpropdict = {
- '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
-}
-font_suitcase._privelemdict = {
- 'item' : Earlier_terms.item,
-}
-desk_accessory_suitcase._superclassnames = ['suitcase']
-desk_accessory_suitcase._privpropdict = {
- '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
-}
-desk_accessory_suitcase._privelemdict = {
- 'item' : Earlier_terms.item,
-}
#
# Indices of types declared in this module
@@ -258,24 +258,25 @@ desk_accessory_suitcase._privelemdict = {
_classdeclarations = {
'sndf' : sound_file,
'fntf' : font_file,
- 'inlf' : internet_location_file,
+ 'stcs' : suitcase,
'clpf' : clipping,
+ 'dsut' : desk_accessory_suitcase,
'alia' : alias_file,
'dafi' : desk_accessory_file,
- 'dsut' : desk_accessory_suitcase,
'fsut' : font_suitcase,
'file' : file,
'appf' : application_file,
- 'stcs' : suitcase,
+ 'inlf' : internet_location_file,
'docf' : document_file,
'pack' : package,
}
_propdeclarations = {
- 'vers' : version,
'ver2' : product_version,
- 'snd ' : sound,
+ 'vers' : version,
'appt' : preferred_size,
+ 'snd ' : sound,
+ 'pspd' : stationery,
'sprt' : suggested_size,
'isab' : accepts_high_level_events,
'hscr' : has_scripting_terminology,
@@ -283,7 +284,6 @@ _propdeclarations = {
'c@#^' : _3c_Inheritance_3e_,
'fcrt' : creator_type,
'mprt' : minimum_size,
- 'pspd' : stationery,
'iloc' : location,
'aslk' : locked,
'orig' : original_item,
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py b/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py
index 01d2bed..541abf6 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/Process_classes.py
@@ -15,6 +15,30 @@ class Process_classes_Events:
pass
+class application_process(aetools.ComponentItem):
+ """application process - A process launched from an application file """
+ want = 'pcap'
+class _3c_Inheritance_3e_(aetools.NProperty):
+ """<Inheritance> - inherits some of its properties from the process class """
+ which = 'c@#^'
+ want = 'prcs'
+class application_file(aetools.NProperty):
+ """application file - the application file from which this process was launched """
+ which = 'appf'
+ want = 'appf'
+
+application_processes = application_process
+
+class desk_accessory_process(aetools.ComponentItem):
+ """desk accessory process - A process launched from a desk accessory file """
+ want = 'pcda'
+class desk_accessory_file(aetools.NProperty):
+ """desk accessory file - the desk accessory file from which this process was launched """
+ which = 'dafi'
+ want = 'obj '
+
+desk_accessory_processes = desk_accessory_process
+
class process(aetools.ComponentItem):
"""process - A process running on this computer """
want = 'prcs'
@@ -64,30 +88,20 @@ class partition_space_used(aetools.NProperty):
want = 'long'
processes = process
-
-class application_process(aetools.ComponentItem):
- """application process - A process launched from an application file """
- want = 'pcap'
-class _3c_Inheritance_3e_(aetools.NProperty):
- """<Inheritance> - inherits some of its properties from the process class """
- which = 'c@#^'
- want = 'prcs'
-class application_file(aetools.NProperty):
- """application file - the application file from which this process was launched """
- which = 'appf'
- want = 'appf'
-
-application_processes = application_process
-
-class desk_accessory_process(aetools.ComponentItem):
- """desk accessory process - A process launched from a desk accessory file """
- want = 'pcda'
-class desk_accessory_file(aetools.NProperty):
- """desk accessory file - the desk accessory file from which this process was launched """
- which = 'dafi'
- want = 'obj '
-
-desk_accessory_processes = desk_accessory_process
+application_process._superclassnames = ['process']
+application_process._privpropdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+ 'application_file' : application_file,
+}
+application_process._privelemdict = {
+}
+desk_accessory_process._superclassnames = ['process']
+desk_accessory_process._privpropdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+ 'desk_accessory_file' : desk_accessory_file,
+}
+desk_accessory_process._privelemdict = {
+}
process._superclassnames = []
process._privpropdict = {
'name' : name,
@@ -104,20 +118,6 @@ process._privpropdict = {
}
process._privelemdict = {
}
-application_process._superclassnames = ['process']
-application_process._privpropdict = {
- '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'application_file' : application_file,
-}
-application_process._privelemdict = {
-}
-desk_accessory_process._superclassnames = ['process']
-desk_accessory_process._privpropdict = {
- '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'desk_accessory_file' : desk_accessory_file,
-}
-desk_accessory_process._privelemdict = {
-}
#
# Indices of types declared in this module
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py
index 4a3372f..ff2a1dc 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py
@@ -13,77 +13,6 @@ _code = 'CoRe'
from StdSuites.Standard_Suite import *
class Standard_Suite_Events(Standard_Suite_Events):
- _argmap_open = {
- 'using' : 'usin',
- 'with_properties' : 'prdt',
- }
-
- def open(self, _object, _attributes={}, **_arguments):
- """open: Open the specified object(s)
- Required argument: list of objects to open
- Keyword argument using: the application file to open the object with
- Keyword argument with_properties: the initial values for the properties, to be included with the open command sent to the application that opens the direct object
- Keyword argument _attributes: AppleEvent attribute dictionary
- """
- _code = 'aevt'
- _subcode = 'odoc'
-
- aetools.keysubst(_arguments, self._argmap_open)
- _arguments['----'] = _object
-
-
- _reply, _arguments, _attributes = self.send(_code, _subcode,
- _arguments, _attributes)
- if _arguments.get('errn', 0):
- raise aetools.Error, aetools.decodeerror(_arguments)
- # XXXX Optionally decode result
- if _arguments.has_key('----'):
- return _arguments['----']
-
- _argmap_print_ = {
- 'with_properties' : 'prdt',
- }
-
- def print_(self, _object, _attributes={}, **_arguments):
- """print: Print the specified object(s)
- Required argument: list of objects to print
- Keyword argument with_properties: optional properties to be included with the print command sent to the application that prints the direct object
- Keyword argument _attributes: AppleEvent attribute dictionary
- """
- _code = 'aevt'
- _subcode = 'pdoc'
-
- aetools.keysubst(_arguments, self._argmap_print_)
- _arguments['----'] = _object
-
-
- _reply, _arguments, _attributes = self.send(_code, _subcode,
- _arguments, _attributes)
- if _arguments.get('errn', 0):
- raise aetools.Error, aetools.decodeerror(_arguments)
- # XXXX Optionally decode result
- if _arguments.has_key('----'):
- return _arguments['----']
-
- def quit(self, _no_object=None, _attributes={}, **_arguments):
- """quit: Quit the Finder
- Keyword argument _attributes: AppleEvent attribute dictionary
- """
- _code = 'aevt'
- _subcode = 'quit'
-
- if _arguments: raise TypeError, 'No optional args expected'
- if _no_object != None: raise TypeError, 'No direct arg expected'
-
-
- _reply, _arguments, _attributes = self.send(_code, _subcode,
- _arguments, _attributes)
- if _arguments.get('errn', 0):
- raise aetools.Error, aetools.decodeerror(_arguments)
- # XXXX Optionally decode result
- if _arguments.has_key('----'):
- return _arguments['----']
-
def close(self, _object, _attributes={}, **_arguments):
"""close: Close an object
Required argument: the object to close
@@ -296,6 +225,77 @@ class Standard_Suite_Events(Standard_Suite_Events):
if _arguments.has_key('----'):
return _arguments['----']
+ _argmap_open = {
+ 'using' : 'usin',
+ 'with_properties' : 'prdt',
+ }
+
+ def open(self, _object, _attributes={}, **_arguments):
+ """open: Open the specified object(s)
+ Required argument: list of objects to open
+ Keyword argument using: the application file to open the object with
+ Keyword argument with_properties: the initial values for the properties, to be included with the open command sent to the application that opens the direct object
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'aevt'
+ _subcode = 'odoc'
+
+ aetools.keysubst(_arguments, self._argmap_open)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_print_ = {
+ 'with_properties' : 'prdt',
+ }
+
+ def print_(self, _object, _attributes={}, **_arguments):
+ """print: Print the specified object(s)
+ Required argument: list of objects to print
+ Keyword argument with_properties: optional properties to be included with the print command sent to the application that prints the direct object
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'aevt'
+ _subcode = 'pdoc'
+
+ aetools.keysubst(_arguments, self._argmap_print_)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def quit(self, _no_object=None, _attributes={}, **_arguments):
+ """quit: Quit the Finder
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'aevt'
+ _subcode = 'quit'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.get('errn', 0):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
def select(self, _object, _attributes={}, **_arguments):
"""select: Select the specified object(s)
Required argument: the object to select
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py b/Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py
index 16d233e..4742078 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py
@@ -15,6 +15,68 @@ class Type_Definitions_Events:
pass
+class alias_list(aetools.ComponentItem):
+ """alias list - A list of aliases. Use \xd4as alias list\xd5 when a list of aliases is needed (instead of a list of file system item references). """
+ want = 'alst'
+
+class icon_family(aetools.ComponentItem):
+ """icon family - A family of icons """
+ want = 'ifam'
+class large_monochrome_icon_and_mask(aetools.NProperty):
+ """large monochrome icon and mask - the large black-and-white icon and the mask for large icons """
+ which = 'ICN#'
+ want = 'ICN#'
+class large_8_bit_mask(aetools.NProperty):
+ """large 8 bit mask - the large 8-bit mask for large 32-bit icons """
+ which = 'l8mk'
+ want = 'l8mk'
+class large_32_bit_icon(aetools.NProperty):
+ """large 32 bit icon - the large 32-bit color icon """
+ which = 'il32'
+ want = 'il32'
+class large_8_bit_icon(aetools.NProperty):
+ """large 8 bit icon - the large 8-bit color icon """
+ which = 'icl8'
+ want = 'icl8'
+class large_4_bit_icon(aetools.NProperty):
+ """large 4 bit icon - the large 4-bit color icon """
+ which = 'icl4'
+ want = 'icl4'
+class small_monochrome_icon_and_mask(aetools.NProperty):
+ """small monochrome icon and mask - the small black-and-white icon and the mask for small icons """
+ which = 'ics#'
+ want = 'ics#'
+class small_8_bit_mask(aetools.NProperty):
+ """small 8 bit mask - the small 8-bit mask for small 32-bit icons """
+ which = 'ics8'
+ want = 's8mk'
+class small_32_bit_icon(aetools.NProperty):
+ """small 32 bit icon - the small 32-bit color icon """
+ which = 'is32'
+ want = 'is32'
+
+small_8_bit_icon = small_8_bit_mask
+class small_4_bit_icon(aetools.NProperty):
+ """small 4 bit icon - the small 4-bit color icon """
+ which = 'ics4'
+ want = 'ics4'
+
+class label(aetools.ComponentItem):
+ """label - A Finder label (name and color) """
+ want = 'clbl'
+class name(aetools.NProperty):
+ """name - the name associated with the label """
+ which = 'pnam'
+ want = 'itxt'
+class index(aetools.NProperty):
+ """index - the index in the front-to-back ordering within its container """
+ which = 'pidx'
+ want = 'long'
+class color(aetools.NProperty):
+ """color - the color associated with the label """
+ which = 'colr'
+ want = 'cRGB'
+
class preferences(aetools.ComponentItem):
"""preferences - The Finder Preferences """
want = 'cprf'
@@ -103,68 +165,34 @@ class view_font_size(aetools.NProperty):
which = 'vfsz'
want = 'long'
# element 'clbl' as ['indx', 'name']
-
-class label(aetools.ComponentItem):
- """label - A Finder label (name and color) """
- want = 'clbl'
-class name(aetools.NProperty):
- """name - the name associated with the label """
- which = 'pnam'
- want = 'itxt'
-class index(aetools.NProperty):
- """index - the index in the front-to-back ordering within its container """
- which = 'pidx'
- want = 'long'
-class color(aetools.NProperty):
- """color - the color associated with the label """
- which = 'colr'
- want = 'cRGB'
-
-class icon_family(aetools.ComponentItem):
- """icon family - A family of icons """
- want = 'ifam'
-class large_monochrome_icon_and_mask(aetools.NProperty):
- """large monochrome icon and mask - the large black-and-white icon and the mask for large icons """
- which = 'ICN#'
- want = 'ICN#'
-class large_8_bit_mask(aetools.NProperty):
- """large 8 bit mask - the large 8-bit mask for large 32-bit icons """
- which = 'l8mk'
- want = 'l8mk'
-class large_32_bit_icon(aetools.NProperty):
- """large 32 bit icon - the large 32-bit color icon """
- which = 'il32'
- want = 'il32'
-class large_8_bit_icon(aetools.NProperty):
- """large 8 bit icon - the large 8-bit color icon """
- which = 'icl8'
- want = 'icl8'
-class large_4_bit_icon(aetools.NProperty):
- """large 4 bit icon - the large 4-bit color icon """
- which = 'icl4'
- want = 'icl4'
-class small_monochrome_icon_and_mask(aetools.NProperty):
- """small monochrome icon and mask - the small black-and-white icon and the mask for small icons """
- which = 'ics#'
- want = 'ics#'
-class small_8_bit_mask(aetools.NProperty):
- """small 8 bit mask - the small 8-bit mask for small 32-bit icons """
- which = 'ics8'
- want = 's8mk'
-class small_32_bit_icon(aetools.NProperty):
- """small 32 bit icon - the small 32-bit color icon """
- which = 'is32'
- want = 'is32'
-
-small_8_bit_icon = small_8_bit_mask
-class small_4_bit_icon(aetools.NProperty):
- """small 4 bit icon - the small 4-bit color icon """
- which = 'ics4'
- want = 'ics4'
-
-class alias_list(aetools.ComponentItem):
- """alias list - A list of aliases. Use \xd4as alias list\xd5 when a list of aliases is needed (instead of a list of file system item references). """
- want = 'alst'
+alias_list._superclassnames = []
+alias_list._privpropdict = {
+}
+alias_list._privelemdict = {
+}
+icon_family._superclassnames = []
+icon_family._privpropdict = {
+ 'large_monochrome_icon_and_mask' : large_monochrome_icon_and_mask,
+ 'large_8_bit_mask' : large_8_bit_mask,
+ 'large_32_bit_icon' : large_32_bit_icon,
+ 'large_8_bit_icon' : large_8_bit_icon,
+ 'large_4_bit_icon' : large_4_bit_icon,
+ 'small_monochrome_icon_and_mask' : small_monochrome_icon_and_mask,
+ 'small_8_bit_mask' : small_8_bit_mask,
+ 'small_32_bit_icon' : small_32_bit_icon,
+ 'small_8_bit_icon' : small_8_bit_icon,
+ 'small_4_bit_icon' : small_4_bit_icon,
+}
+icon_family._privelemdict = {
+}
+label._superclassnames = []
+label._privpropdict = {
+ 'name' : name,
+ 'index' : index,
+ 'color' : color,
+}
+label._privelemdict = {
+}
preferences._superclassnames = []
preferences._privpropdict = {
'window' : window,
@@ -192,34 +220,6 @@ preferences._privpropdict = {
preferences._privelemdict = {
'label' : label,
}
-label._superclassnames = []
-label._privpropdict = {
- 'name' : name,
- 'index' : index,
- 'color' : color,
-}
-label._privelemdict = {
-}
-icon_family._superclassnames = []
-icon_family._privpropdict = {
- 'large_monochrome_icon_and_mask' : large_monochrome_icon_and_mask,
- 'large_8_bit_mask' : large_8_bit_mask,
- 'large_32_bit_icon' : large_32_bit_icon,
- 'large_8_bit_icon' : large_8_bit_icon,
- 'large_4_bit_icon' : large_4_bit_icon,
- 'small_monochrome_icon_and_mask' : small_monochrome_icon_and_mask,
- 'small_8_bit_mask' : small_8_bit_mask,
- 'small_32_bit_icon' : small_32_bit_icon,
- 'small_8_bit_icon' : small_8_bit_icon,
- 'small_4_bit_icon' : small_4_bit_icon,
-}
-icon_family._privelemdict = {
-}
-alias_list._superclassnames = []
-alias_list._privpropdict = {
-}
-alias_list._privelemdict = {
-}
#
# Indices of types declared in this module
@@ -236,25 +236,25 @@ _propdeclarations = {
'ics4' : small_4_bit_icon,
'iarr' : spatial_view_arrangement,
'barr' : button_view_arrangement,
- 'ics#' : small_monochrome_icon_and_mask,
+ 'vfnt' : view_font,
'sknd' : shows_kind,
'svrs' : shows_version,
'colr' : color,
'ics8' : small_8_bit_mask,
'icl8' : large_8_bit_icon,
- 'sprg' : spring_open_folders,
+ 'pidx' : index,
'vfsz' : view_font_size,
'sfsz' : calculates_folder_sizes,
- 'l8mk' : large_8_bit_mask,
- 'vfnt' : view_font,
+ 'ics#' : small_monochrome_icon_and_mask,
'urdt' : uses_relative_dates,
+ 'bisz' : button_view_icon_size,
'usme' : uses_simple_menus,
+ 'sprg' : spring_open_folders,
'icl4' : large_4_bit_icon,
'slbl' : shows_label,
'lisz' : list_view_icon_size,
- 'scda' : shows_creation_date,
- 'bisz' : button_view_icon_size,
- 'pidx' : index,
+ 'ssiz' : shows_size,
+ 'l8mk' : large_8_bit_mask,
'scom' : shows_comments,
'iisz' : spatial_view_icon_size,
'sdat' : shows_modification_date,
@@ -264,7 +264,7 @@ _propdeclarations = {
'pnam' : name,
'il32' : large_32_bit_icon,
'uswg' : uses_wide_grid,
- 'ssiz' : shows_size,
+ 'scda' : shows_creation_date,
}
_compdeclarations = {
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py b/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py
index 4495f80..dad3e35 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py
@@ -15,83 +15,19 @@ class Window_classes_Events:
pass
-class window(aetools.ComponentItem):
- """window - A window """
+class clipping_window(aetools.ComponentItem):
+ """clipping window - The window containing a clipping """
+ want = 'lwnd'
+class _3c_Inheritance_3e_(aetools.NProperty):
+ """<Inheritance> - inherits some of its properties from the window class """
+ which = 'c@#^'
want = 'cwin'
-class position(aetools.NProperty):
- """position - the upper left position of the window """
- which = 'posn'
- want = 'QDpt'
-class bounds(aetools.NProperty):
- """bounds - the boundary rectangle for the window """
- which = 'pbnd'
- want = 'qdrt'
-class titled(aetools.NProperty):
- """titled - Does the window have a title bar? """
- which = 'ptit'
- want = 'bool'
-class name(aetools.NProperty):
- """name - the name of the window """
- which = 'pnam'
- want = 'itxt'
-class index(aetools.NProperty):
- """index - the number of the window in the front-to-back layer ordering """
- which = 'pidx'
- want = 'long'
-class closeable(aetools.NProperty):
- """closeable - Does the window have a close box? """
- which = 'hclb'
- want = 'bool'
-class floating(aetools.NProperty):
- """floating - Does the window have a title bar? """
- which = 'isfl'
- want = 'bool'
-class modal(aetools.NProperty):
- """modal - Is the window modal? """
- which = 'pmod'
- want = 'bool'
-class resizable(aetools.NProperty):
- """resizable - Is the window resizable? """
- which = 'prsz'
- want = 'bool'
-class zoomable(aetools.NProperty):
- """zoomable - Is the window zoomable? """
- which = 'iszm'
- want = 'bool'
-class zoomed(aetools.NProperty):
- """zoomed - Is the window zoomed? """
- which = 'pzum'
- want = 'bool'
-class zoomed_full_size(aetools.NProperty):
- """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) """
- which = 'zumf'
- want = 'bool'
-class visible(aetools.NProperty):
- """visible - Is the window visible (always true for open Finder windows)? """
- which = 'pvis'
- want = 'bool'
-class popup(aetools.NProperty):
- """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) """
- which = 'drwr'
- want = 'bool'
-class pulled_open(aetools.NProperty):
- """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)? """
- which = 'pull'
- want = 'bool'
-class collapsed(aetools.NProperty):
- """collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """
- which = 'wshd'
- want = 'bool'
-windows = window
+clipping_windows = clipping_window
class container_window(aetools.ComponentItem):
"""container window - A window that contains items """
want = 'cwnd'
-class _3c_Inheritance_3e_(aetools.NProperty):
- """<Inheritance> - inherits some of its properties from the window class """
- which = 'c@#^'
- want = 'cwin'
class container(aetools.NProperty):
"""container - the container from which the window was opened """
which = 'ctnr'
@@ -163,6 +99,12 @@ class uses_relative_dates(aetools.NProperty):
container_windows = container_window
+class content_space(aetools.ComponentItem):
+ """content space - All windows, including the desktop window (\xd2Window\xd3 does not include the desktop window) """
+ want = 'dwnd'
+
+content_spaces = content_space
+
class information_window(aetools.ComponentItem):
"""information window - An information window (opened by \xd2Get Info\xd3) """
want = 'iwnd'
@@ -229,47 +171,90 @@ class version(aetools.NProperty):
information_windows = information_window
-class view_options_window(aetools.ComponentItem):
- """view options window - A View Options window """
- want = 'vwnd'
-
-view_options_windows = view_options_window
-
class preferences_window(aetools.ComponentItem):
"""preferences window - The Finder Preferences window """
want = 'pwnd'
-class clipping_window(aetools.ComponentItem):
- """clipping window - The window containing a clipping """
- want = 'lwnd'
+class view_options_window(aetools.ComponentItem):
+ """view options window - A View Options window """
+ want = 'vwnd'
-clipping_windows = clipping_window
+view_options_windows = view_options_window
-class content_space(aetools.ComponentItem):
- """content space - All windows, including the desktop window (\xd2Window\xd3 does not include the desktop window) """
- want = 'dwnd'
+class window(aetools.ComponentItem):
+ """window - A window """
+ want = 'cwin'
+class position(aetools.NProperty):
+ """position - the upper left position of the window """
+ which = 'posn'
+ want = 'QDpt'
+class bounds(aetools.NProperty):
+ """bounds - the boundary rectangle for the window """
+ which = 'pbnd'
+ want = 'qdrt'
+class titled(aetools.NProperty):
+ """titled - Does the window have a title bar? """
+ which = 'ptit'
+ want = 'bool'
+class name(aetools.NProperty):
+ """name - the name of the window """
+ which = 'pnam'
+ want = 'itxt'
+class index(aetools.NProperty):
+ """index - the number of the window in the front-to-back layer ordering """
+ which = 'pidx'
+ want = 'long'
+class closeable(aetools.NProperty):
+ """closeable - Does the window have a close box? """
+ which = 'hclb'
+ want = 'bool'
+class floating(aetools.NProperty):
+ """floating - Does the window have a title bar? """
+ which = 'isfl'
+ want = 'bool'
+class modal(aetools.NProperty):
+ """modal - Is the window modal? """
+ which = 'pmod'
+ want = 'bool'
+class resizable(aetools.NProperty):
+ """resizable - Is the window resizable? """
+ which = 'prsz'
+ want = 'bool'
+class zoomable(aetools.NProperty):
+ """zoomable - Is the window zoomable? """
+ which = 'iszm'
+ want = 'bool'
+class zoomed(aetools.NProperty):
+ """zoomed - Is the window zoomed? """
+ which = 'pzum'
+ want = 'bool'
+class zoomed_full_size(aetools.NProperty):
+ """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) """
+ which = 'zumf'
+ want = 'bool'
+class visible(aetools.NProperty):
+ """visible - Is the window visible (always true for open Finder windows)? """
+ which = 'pvis'
+ want = 'bool'
+class popup(aetools.NProperty):
+ """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) """
+ which = 'drwr'
+ want = 'bool'
+class pulled_open(aetools.NProperty):
+ """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)? """
+ which = 'pull'
+ want = 'bool'
+class collapsed(aetools.NProperty):
+ """collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """
+ which = 'wshd'
+ want = 'bool'
-content_spaces = content_space
-window._superclassnames = []
-window._privpropdict = {
- 'position' : position,
- 'bounds' : bounds,
- 'titled' : titled,
- 'name' : name,
- 'index' : index,
- 'closeable' : closeable,
- 'floating' : floating,
- 'modal' : modal,
- 'resizable' : resizable,
- 'zoomable' : zoomable,
- 'zoomed' : zoomed,
- 'zoomed_full_size' : zoomed_full_size,
- 'visible' : visible,
- 'popup' : popup,
- 'pulled_open' : pulled_open,
- 'collapsed' : collapsed,
+windows = window
+clipping_window._superclassnames = ['window']
+clipping_window._privpropdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
}
-window._privelemdict = {
+clipping_window._privelemdict = {
}
container_window._superclassnames = ['window']
container_window._privpropdict = {
@@ -294,6 +279,11 @@ container_window._privpropdict = {
}
container_window._privelemdict = {
}
+content_space._superclassnames = []
+content_space._privpropdict = {
+}
+content_space._privelemdict = {
+}
information_window._superclassnames = ['window']
information_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
@@ -316,13 +306,6 @@ information_window._privpropdict = {
}
information_window._privelemdict = {
}
-view_options_window._superclassnames = ['window']
-view_options_window._privpropdict = {
- '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
- 'item' : item,
-}
-view_options_window._privelemdict = {
-}
preferences_window._superclassnames = ['window']
preferences_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
@@ -330,16 +313,33 @@ preferences_window._privpropdict = {
}
preferences_window._privelemdict = {
}
-clipping_window._superclassnames = ['window']
-clipping_window._privpropdict = {
+view_options_window._superclassnames = ['window']
+view_options_window._privpropdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+ 'item' : item,
}
-clipping_window._privelemdict = {
+view_options_window._privelemdict = {
}
-content_space._superclassnames = []
-content_space._privpropdict = {
+window._superclassnames = []
+window._privpropdict = {
+ 'position' : position,
+ 'bounds' : bounds,
+ 'titled' : titled,
+ 'name' : name,
+ 'index' : index,
+ 'closeable' : closeable,
+ 'floating' : floating,
+ 'modal' : modal,
+ 'resizable' : resizable,
+ 'zoomable' : zoomable,
+ 'zoomed' : zoomed,
+ 'zoomed_full_size' : zoomed_full_size,
+ 'visible' : visible,
+ 'popup' : popup,
+ 'pulled_open' : pulled_open,
+ 'collapsed' : collapsed,
}
-content_space._privelemdict = {
+window._privelemdict = {
}
#
@@ -347,33 +347,33 @@ content_space._privelemdict = {
#
_classdeclarations = {
'pwnd' : preferences_window,
- 'vwnd' : view_options_window,
'cwin' : window,
+ 'vwnd' : view_options_window,
+ 'lwnd' : clipping_window,
'cwnd' : container_window,
'dwnd' : content_space,
'iwnd' : information_window,
- 'lwnd' : clipping_window,
}
_propdeclarations = {
'prsz' : resizable,
'barr' : button_view_arrangement,
- 'pzum' : zoomed,
+ 'pbnd' : bounds,
+ 'appt' : preferred_size,
'iarr' : spatial_view_arrangement,
'hclb' : closeable,
'c@#^' : _3c_Inheritance_3e_,
'ver2' : product_version,
- 'sfsz' : calculates_folder_sizes,
+ 'cuss' : has_custom_view_settings,
'sprt' : suggested_size,
'zumf' : zoomed_full_size,
'urdt' : uses_relative_dates,
'panl' : current_panel,
'pmod' : modal,
- 'pspd' : stationery,
'scom' : shows_comments,
- 'appt' : preferred_size,
+ 'pspd' : stationery,
'aslk' : locked,
- 'pbnd' : bounds,
+ 'pzum' : zoomed,
'iimg' : icon,
'mprt' : minimum_size,
'pnam' : name,
@@ -382,8 +382,9 @@ _propdeclarations = {
'cobj' : item,
'ptit' : titled,
'posn' : position,
- 'cuss' : has_custom_view_settings,
+ 'vers' : version,
'phys' : physical_size,
+ 'pull' : pulled_open,
'sknd' : shows_kind,
'svrs' : shows_version,
'svew' : previous_list_view,
@@ -394,17 +395,16 @@ _propdeclarations = {
'ctnr' : container,
'wshd' : collapsed,
'slbl' : shows_label,
- 'pull' : pulled_open,
+ 'warn' : warns_before_emptying,
'ptsz' : size,
'pvis' : visible,
'pidx' : index,
'isfl' : floating,
- 'warn' : warns_before_emptying,
'drwr' : popup,
'sdat' : shows_modification_date,
'pvew' : view,
+ 'sfsz' : calculates_folder_sizes,
'scda' : shows_creation_date,
- 'vers' : version,
}
_compdeclarations = {
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py b/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py
index 86d81dd..dd7dc52 100644
--- a/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py
+++ b/Lib/plat-mac/lib-scriptpackages/Finder/__init__.py
@@ -5,28 +5,28 @@ Resource aete resid 0
import aetools
Error = aetools.Error
import Standard_Suite
-import Earlier_terms
-import Finder_Basics
-import Finder_items
import Containers_and_folders
import Files_and_suitcases
-import Window_classes
+import Finder_Basics
+import Finder_items
import Process_classes
+import Window_classes
import Type_Definitions
+import Earlier_terms
import Enumerations
import Obsolete_terms
_code_to_module = {
'CoRe' : Standard_Suite,
- 'tpnm' : Earlier_terms,
- 'fndr' : Finder_Basics,
- 'fndr' : Finder_items,
'fndr' : Containers_and_folders,
'fndr' : Files_and_suitcases,
- 'fndr' : Window_classes,
+ 'fndr' : Finder_Basics,
+ 'fndr' : Finder_items,
'fndr' : Process_classes,
+ 'fndr' : Window_classes,
'tpdf' : Type_Definitions,
+ 'tpnm' : Earlier_terms,
'tpnm' : Enumerations,
'tpnm' : Obsolete_terms,
}
@@ -35,27 +35,27 @@ _code_to_module = {
_code_to_fullname = {
'CoRe' : ('Finder.Standard_Suite', 'Standard_Suite'),
- 'tpnm' : ('Finder.Earlier_terms', 'Earlier_terms'),
- 'fndr' : ('Finder.Finder_Basics', 'Finder_Basics'),
- 'fndr' : ('Finder.Finder_items', 'Finder_items'),
'fndr' : ('Finder.Containers_and_folders', 'Containers_and_folders'),
'fndr' : ('Finder.Files_and_suitcases', 'Files_and_suitcases'),
- 'fndr' : ('Finder.Window_classes', 'Window_classes'),
+ 'fndr' : ('Finder.Finder_Basics', 'Finder_Basics'),
+ 'fndr' : ('Finder.Finder_items', 'Finder_items'),
'fndr' : ('Finder.Process_classes', 'Process_classes'),
+ 'fndr' : ('Finder.Window_classes', 'Window_classes'),
'tpdf' : ('Finder.Type_Definitions', 'Type_Definitions'),
+ 'tpnm' : ('Finder.Earlier_terms', 'Earlier_terms'),
'tpnm' : ('Finder.Enumerations', 'Enumerations'),
'tpnm' : ('Finder.Obsolete_terms', 'Obsolete_terms'),
}
from Standard_Suite import *
-from Earlier_terms import *
-from Finder_Basics import *
-from Finder_items import *
from Containers_and_folders import *
from Files_and_suitcases import *
-from Window_classes import *
+from Finder_Basics import *
+from Finder_items import *
from Process_classes import *
+from Window_classes import *
from Type_Definitions import *
+from Earlier_terms import *
from Enumerations import *
from Obsolete_terms import *
@@ -129,9 +129,6 @@ getbaseclasses(StdSuites.Type_Names_Suite.null)
getbaseclasses(StdSuites.Type_Names_Suite.target_id)
getbaseclasses(StdSuites.Type_Names_Suite.point)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
-getbaseclasses(application)
-getbaseclasses(special_folders)
-getbaseclasses(item)
getbaseclasses(trash_2d_object)
getbaseclasses(desktop_2d_object)
getbaseclasses(sharable_container)
@@ -139,6 +136,9 @@ getbaseclasses(sharing_privileges)
getbaseclasses(disk)
getbaseclasses(folder)
getbaseclasses(container)
+getbaseclasses(application)
+getbaseclasses(special_folders)
+getbaseclasses(item)
getbaseclasses(sound_file)
getbaseclasses(font_file)
getbaseclasses(internet_location_file)
@@ -206,17 +206,6 @@ getbaseclasses(StdSuites.Type_Names_Suite.null)
getbaseclasses(StdSuites.Type_Names_Suite.target_id)
getbaseclasses(StdSuites.Type_Names_Suite.point)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
-getbaseclasses(status_window)
-getbaseclasses(application)
-getbaseclasses(sharing_window)
-getbaseclasses(control_panel)
-getbaseclasses(process)
-getbaseclasses(item)
-getbaseclasses(file)
-getbaseclasses(sharable_container)
-getbaseclasses(container_window)
-getbaseclasses(container)
-getbaseclasses(information_window)
getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
getbaseclasses(StdSuites.Type_Names_Suite.system_dictionary)
@@ -257,6 +246,17 @@ getbaseclasses(StdSuites.Type_Names_Suite.null)
getbaseclasses(StdSuites.Type_Names_Suite.target_id)
getbaseclasses(StdSuites.Type_Names_Suite.point)
getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
+getbaseclasses(status_window)
+getbaseclasses(application)
+getbaseclasses(sharing_window)
+getbaseclasses(control_panel)
+getbaseclasses(process)
+getbaseclasses(item)
+getbaseclasses(file)
+getbaseclasses(sharable_container)
+getbaseclasses(container_window)
+getbaseclasses(container)
+getbaseclasses(information_window)
#
# Indices of types declared in this module
@@ -315,9 +315,6 @@ _classdeclarations = {
'targ' : StdSuites.Type_Names_Suite.target_id,
'QDpt' : StdSuites.Type_Names_Suite.point,
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
- 'capp' : application,
- 'spfl' : special_folders,
- 'cobj' : item,
'ctrs' : trash_2d_object,
'cdsk' : desktop_2d_object,
'sctr' : sharable_container,
@@ -325,6 +322,9 @@ _classdeclarations = {
'cdis' : disk,
'cfol' : folder,
'ctnr' : container,
+ 'capp' : application,
+ 'spfl' : special_folders,
+ 'cobj' : item,
'sndf' : sound_file,
'fntf' : font_file,
'inlf' : internet_location_file,
@@ -392,17 +392,6 @@ _classdeclarations = {
'targ' : StdSuites.Type_Names_Suite.target_id,
'QDpt' : StdSuites.Type_Names_Suite.point,
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
- 'qwnd' : status_window,
- 'capp' : application,
- 'swnd' : sharing_window,
- 'ccdv' : control_panel,
- 'prcs' : process,
- 'cobj' : item,
- 'file' : file,
- 'sctr' : sharable_container,
- 'cwnd' : container_window,
- 'ctnr' : container,
- 'iwnd' : information_window,
'shor' : StdSuites.Type_Names_Suite.small_integer,
'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
'aeut' : StdSuites.Type_Names_Suite.system_dictionary,
@@ -443,18 +432,29 @@ _classdeclarations = {
'targ' : StdSuites.Type_Names_Suite.target_id,
'QDpt' : StdSuites.Type_Names_Suite.point,
'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
+ 'qwnd' : status_window,
+ 'capp' : application,
+ 'swnd' : sharing_window,
+ 'ccdv' : control_panel,
+ 'prcs' : process,
+ 'cobj' : item,
+ 'file' : file,
+ 'sctr' : sharable_container,
+ 'cwnd' : container_window,
+ 'ctnr' : container,
+ 'iwnd' : information_window,
}
class Finder(Standard_Suite_Events,
- Earlier_terms_Events,
- Finder_Basics_Events,
- Finder_items_Events,
Containers_and_folders_Events,
Files_and_suitcases_Events,
- Window_classes_Events,
+ Finder_Basics_Events,
+ Finder_items_Events,
Process_classes_Events,
+ Window_classes_Events,
Type_Definitions_Events,
+ Earlier_terms_Events,
Enumerations_Events,
Obsolete_terms_Events,
aetools.TalkTo):