mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
Second part of fix for #493826: regenerated suite modules so errn exists but == 0 doesn't signal an error.
Bugfix candidate.
This commit is contained in:
parent
18983536dc
commit
95df3fd159
33 changed files with 717 additions and 1042 deletions
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Containers and folders: Classes that can contain other file system items
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -46,6 +46,10 @@ class icon_size(aetools.NProperty):
|
|||
"""icon size - the size of icons displayed in the window. Can be specified as a number, or ... """
|
||||
which = 'lvis'
|
||||
want = 'long'
|
||||
class view_options_window(aetools.NProperty):
|
||||
"""view options window - the view options window for the container (can only be opened when the container window is open) """
|
||||
which = 'vwnd'
|
||||
want = 'vwnd'
|
||||
# element 'cobj' as ['indx', 'name']
|
||||
# element 'ctnr' as ['indx', 'name']
|
||||
# element 'sctr' as ['indx', 'name']
|
||||
|
|
@ -276,6 +280,7 @@ container._propdict = {
|
|||
'completely_expanded' : completely_expanded,
|
||||
'icon_size' : icon_size,
|
||||
'icon_size' : icon_size,
|
||||
'view_options_window' : view_options_window,
|
||||
}
|
||||
container._elemdict = {
|
||||
'item' : Earlier_terms.item,
|
||||
|
|
@ -437,44 +442,45 @@ trash_2d_object._elemdict = {
|
|||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'priv' : sharing_privileges,
|
||||
'cfol' : folder,
|
||||
'cdis' : disk,
|
||||
'sctr' : sharable_container,
|
||||
'ctnr' : container,
|
||||
'cdsk' : desktop_2d_object,
|
||||
'ctrs' : trash_2d_object,
|
||||
'cdsk' : desktop_2d_object,
|
||||
'sctr' : sharable_container,
|
||||
'priv' : sharing_privileges,
|
||||
'cdis' : disk,
|
||||
'cfol' : folder,
|
||||
'ctnr' : container,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'ownr' : owner_privileges,
|
||||
'spro' : protected,
|
||||
'frsp' : free_space,
|
||||
'sgrp' : group,
|
||||
'pexc' : completely_expanded,
|
||||
'sele' : selection,
|
||||
'smou' : mounted,
|
||||
'pexa' : expandable,
|
||||
'istd' : startup,
|
||||
'sdsk' : startup_disk,
|
||||
'pexp' : expanded,
|
||||
'gppr' : group_privileges,
|
||||
'shar' : shared,
|
||||
'capa' : capacity,
|
||||
'isej' : ejectable,
|
||||
'gstp' : guest_privileges,
|
||||
'prvr' : see_files,
|
||||
'ects' : entire_contents,
|
||||
'lvis' : icon_size,
|
||||
'iprv' : privileges_inherited,
|
||||
'isrv' : local_volume,
|
||||
'frsp' : free_space,
|
||||
'pexa' : expandable,
|
||||
'pexc' : completely_expanded,
|
||||
'vwnd' : view_options_window,
|
||||
'warn' : warns_before_emptying,
|
||||
'sown' : owner,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'sexp' : exported,
|
||||
'isrv' : local_volume,
|
||||
'iprv' : privileges_inherited,
|
||||
'lvis' : icon_size,
|
||||
'trsh' : trash,
|
||||
'prvs' : see_folders,
|
||||
'prvr' : see_files,
|
||||
'prvw' : make_changes,
|
||||
'pexp' : expanded,
|
||||
'ects' : entire_contents,
|
||||
'isej' : ejectable,
|
||||
'capa' : capacity,
|
||||
'shar' : shared,
|
||||
'sexp' : exported,
|
||||
'sdsk' : startup_disk,
|
||||
'istd' : startup,
|
||||
'gstp' : guest_privileges,
|
||||
'trsh' : trash,
|
||||
'smou' : mounted,
|
||||
'sele' : selection,
|
||||
'prvs' : see_folders,
|
||||
'sgrp' : group,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'spro' : protected,
|
||||
'ownr' : owner_privileges,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Earlier terms: Terms that have been renamed
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -401,8 +401,10 @@ class modal(aetools.NProperty):
|
|||
"""modal - Is the window modal? """
|
||||
which = 'pmod'
|
||||
want = 'bool'
|
||||
|
||||
resizable = titled
|
||||
class resizable(aetools.NProperty):
|
||||
"""resizable - Is the window resizable? """
|
||||
which = 'prsz'
|
||||
want = 'bool'
|
||||
class zoomable(aetools.NProperty):
|
||||
"""zoomable - Is the window zoomable? """
|
||||
which = 'iszm'
|
||||
|
|
@ -615,110 +617,111 @@ window._elemdict = {
|
|||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'iwnd' : information_window,
|
||||
'cwnd' : container_window,
|
||||
'inlf' : internet_location,
|
||||
'appf' : application_file,
|
||||
'prcs' : process,
|
||||
'cobj' : item,
|
||||
'cwin' : window,
|
||||
'pcda' : accessory_process,
|
||||
'ctrs' : trash_2d_object,
|
||||
'capp' : application,
|
||||
'dsut' : accessory_suitcase,
|
||||
'cprf' : preferences,
|
||||
'sctr' : sharable_container,
|
||||
'dsut' : accessory_suitcase,
|
||||
'capp' : application,
|
||||
'ctrs' : trash_2d_object,
|
||||
'pcda' : accessory_process,
|
||||
'cwin' : window,
|
||||
'iwnd' : information_window,
|
||||
'prcs' : process,
|
||||
'appf' : application_file,
|
||||
'inlf' : internet_location,
|
||||
'cwnd' : container_window,
|
||||
'cobj' : item,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'pidx' : index,
|
||||
'scda' : show_creation_date,
|
||||
'qpro' : properties,
|
||||
'fshr' : file_sharing,
|
||||
'pvew' : view,
|
||||
'pusd' : partition_space_used,
|
||||
'aslk' : locked,
|
||||
'sdat' : show_modification_date,
|
||||
'issl' : selected,
|
||||
'pvis' : visible,
|
||||
'slbl' : show_label,
|
||||
'wshd' : collapsed,
|
||||
'cdis' : disk,
|
||||
'usme' : use_simple_menus,
|
||||
'sord' : sort_direction,
|
||||
'sexp' : exported,
|
||||
'comt' : comment,
|
||||
'dscr' : description,
|
||||
'svew' : previous_list_view,
|
||||
'svrs' : show_version,
|
||||
'sknd' : show_kind,
|
||||
'phys' : physical_size,
|
||||
'iarr' : spatial_view_arrangement,
|
||||
'smou' : mounted,
|
||||
'posn' : position,
|
||||
'cobj' : item,
|
||||
'revt' : remote_events,
|
||||
'asmo' : modification_date,
|
||||
'ssiz' : show_size,
|
||||
'pnam' : name,
|
||||
'mprt' : minimum_partition_size,
|
||||
'cwin' : window,
|
||||
'pcli' : clipboard,
|
||||
'spro' : protected,
|
||||
'sprt' : suggested_partition_size,
|
||||
'pisf' : frontmost,
|
||||
'sele' : selection,
|
||||
'pmod' : modal,
|
||||
'fcrt' : creator_type,
|
||||
'shar' : shared,
|
||||
'dwnd' : content_space,
|
||||
'zumf' : zoomed_full_size,
|
||||
'sfsz' : calculate_folder_sizes,
|
||||
'ID ' : id,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'pspd' : stationery,
|
||||
'iprv' : inherited_privileges,
|
||||
'pfrp' : Finder_preferences,
|
||||
'barr' : button_view_arrangement,
|
||||
'ownr' : owner_privileges,
|
||||
'drwr' : popup,
|
||||
'sgrp' : group,
|
||||
'ptsz' : size,
|
||||
'kind' : kind,
|
||||
'pull' : pulled_open,
|
||||
'abbx' : about_this_computer,
|
||||
'ctnr' : container,
|
||||
'ascd' : creation_date,
|
||||
'desk' : desktop,
|
||||
'warn' : warn_before_emptying,
|
||||
'iszm' : zoomable,
|
||||
'isab' : scriptable,
|
||||
'gstp' : guest_privileges,
|
||||
'vers' : version,
|
||||
'dela' : delay_before_springing,
|
||||
'ptit' : titled,
|
||||
'uswg' : use_wide_grid,
|
||||
'cuss' : has_custom_view_settings,
|
||||
'labi' : label_index,
|
||||
'iwnd' : information_window,
|
||||
'file' : file,
|
||||
'asty' : file_type,
|
||||
'appt' : partition_size,
|
||||
'scom' : show_comments,
|
||||
'pins' : insertion_location,
|
||||
'pbnd' : bounds,
|
||||
'urdt' : use_relative_dates,
|
||||
'fsup' : sharing_starting_up,
|
||||
'sown' : owner,
|
||||
'isfl' : floating,
|
||||
'hclb' : closeable,
|
||||
'iimg' : icon,
|
||||
'gppr' : group_privileges,
|
||||
'asdr' : folder,
|
||||
'sprg' : spring_open_folders,
|
||||
'pzum' : zoomed,
|
||||
'ver2' : product_version,
|
||||
'pbnd' : bounds,
|
||||
'asdr' : folder,
|
||||
'gppr' : group_privileges,
|
||||
'pidx' : index,
|
||||
'isfl' : floating,
|
||||
'sown' : owner,
|
||||
'fsup' : sharing_starting_up,
|
||||
'urdt' : use_relative_dates,
|
||||
'scom' : show_comments,
|
||||
'appt' : partition_size,
|
||||
'iimg' : icon,
|
||||
'asty' : file_type,
|
||||
'uswg' : use_wide_grid,
|
||||
'ptit' : titled,
|
||||
'dela' : delay_before_springing,
|
||||
'cuss' : has_custom_view_settings,
|
||||
'gstp' : guest_privileges,
|
||||
'isab' : scriptable,
|
||||
'iszm' : zoomable,
|
||||
'sord' : sort_direction,
|
||||
'pins' : insertion_location,
|
||||
'pspd' : stationery,
|
||||
'desk' : desktop,
|
||||
'ascd' : creation_date,
|
||||
'ctnr' : container,
|
||||
'abbx' : about_this_computer,
|
||||
'pull' : pulled_open,
|
||||
'kind' : kind,
|
||||
'ptsz' : size,
|
||||
'hclb' : closeable,
|
||||
'sgrp' : group,
|
||||
'mfre' : largest_free_block,
|
||||
'revt' : remote_events,
|
||||
'drwr' : popup,
|
||||
'iwnd' : information_window,
|
||||
'ownr' : owner_privileges,
|
||||
'pzum' : zoomed,
|
||||
'prsz' : resizable,
|
||||
'barr' : button_view_arrangement,
|
||||
'pfrp' : Finder_preferences,
|
||||
'zumf' : zoomed_full_size,
|
||||
'iprv' : inherited_privileges,
|
||||
'vers' : version,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'ID ' : id,
|
||||
'sfsz' : calculate_folder_sizes,
|
||||
'file' : file,
|
||||
'dwnd' : content_space,
|
||||
'shar' : shared,
|
||||
'pmod' : modal,
|
||||
'sele' : selection,
|
||||
'pisf' : frontmost,
|
||||
'sprt' : suggested_partition_size,
|
||||
'spro' : protected,
|
||||
'pcli' : clipboard,
|
||||
'cwin' : window,
|
||||
'mprt' : minimum_partition_size,
|
||||
'sprg' : spring_open_folders,
|
||||
'ssiz' : show_size,
|
||||
'asmo' : modification_date,
|
||||
'svrs' : show_version,
|
||||
'cobj' : item,
|
||||
'posn' : position,
|
||||
'iarr' : spatial_view_arrangement,
|
||||
'phys' : physical_size,
|
||||
'sknd' : show_kind,
|
||||
'labi' : label_index,
|
||||
'svew' : previous_list_view,
|
||||
'dscr' : description,
|
||||
'comt' : comment,
|
||||
'sexp' : exported,
|
||||
'usme' : use_simple_menus,
|
||||
'cdis' : disk,
|
||||
'wshd' : collapsed,
|
||||
'slbl' : show_label,
|
||||
'warn' : warn_before_emptying,
|
||||
'scda' : show_creation_date,
|
||||
'pvis' : visible,
|
||||
'issl' : selected,
|
||||
'smou' : mounted,
|
||||
'sdat' : show_modification_date,
|
||||
'fcrt' : creator_type,
|
||||
'pusd' : partition_space_used,
|
||||
'pvew' : view,
|
||||
'fshr' : file_sharing,
|
||||
'qpro' : properties,
|
||||
'aslk' : locked,
|
||||
'pnam' : name,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Enumerations: Enumerations for the Finder
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -16,30 +16,30 @@ class Enumerations_Events(Type_Names_Suite_Events):
|
|||
pass
|
||||
|
||||
_Enum_ipnl = {
|
||||
'General Information panel' : 'gpnl', #
|
||||
'Sharing panel' : 'spnl', #
|
||||
'Memory panel' : 'mpnl', #
|
||||
'Status and Configuration panel' : 'scnl', #
|
||||
'Fonts panel' : 'fpnl', #
|
||||
'General_Information_panel' : 'gpnl', #
|
||||
'Sharing_panel' : 'spnl', #
|
||||
'Memory_panel' : 'mpnl', #
|
||||
'Status_and_Configuration_panel' : 'scnl', #
|
||||
'Fonts_panel' : 'fpnl', #
|
||||
}
|
||||
|
||||
_Enum_pple = {
|
||||
'General Preferences panel' : 'pgnp', #
|
||||
'Label Preferences panel' : 'plbp', #
|
||||
'Icon View Preferences panel' : 'pivp', #
|
||||
'Button View Preferences panel' : 'pbvp', #
|
||||
'List View Preferences panel' : 'plvp', #
|
||||
'General_Preferences_panel' : 'pgnp', #
|
||||
'Label_Preferences_panel' : 'plbp', #
|
||||
'Icon_View_Preferences_panel' : 'pivp', #
|
||||
'Button_View_Preferences_panel' : 'pbvp', #
|
||||
'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', #
|
||||
'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 = {
|
||||
|
|
@ -55,19 +55,19 @@ _Enum_isiz = {
|
|||
|
||||
_Enum_vwby = {
|
||||
'conflicts' : 'cflc', #
|
||||
'existing items' : 'exsi', #
|
||||
'small icon' : 'smic', #
|
||||
'existing_items' : 'exsi', #
|
||||
'small_icon' : 'smic', #
|
||||
'icon' : 'iimg', #
|
||||
'name' : 'pnam', #
|
||||
'modification date' : 'asmo', #
|
||||
'modification_date' : 'asmo', #
|
||||
'size' : 'ptsz', #
|
||||
'kind' : 'kind', #
|
||||
'comment' : 'comt', #
|
||||
'label' : 'labi', #
|
||||
'version' : 'vers', #
|
||||
'creation date' : 'ascd', #
|
||||
'small button' : 'smbu', #
|
||||
'large button' : 'lgbu', #
|
||||
'creation_date' : 'ascd', #
|
||||
'small_button' : 'smbu', #
|
||||
'large_button' : 'lgbu', #
|
||||
'grid' : 'grid', #
|
||||
'all' : 'kyal', #
|
||||
}
|
||||
|
|
@ -77,10 +77,19 @@ _Enum_gsen = {
|
|||
'FPU' : 'fpu ', #
|
||||
'MMU' : 'mmu ', #
|
||||
'hardware' : 'hdwr', #
|
||||
'operating system' : 'os ', #
|
||||
'sound system' : 'snd ', #
|
||||
'memory available' : 'lram', #
|
||||
'memory installed' : 'ram ', #
|
||||
'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', #
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -97,11 +106,12 @@ _compdeclarations = {
|
|||
}
|
||||
|
||||
_enumdeclarations = {
|
||||
'gsen' : _Enum_gsen,
|
||||
'earr' : _Enum_earr,
|
||||
'isiz' : _Enum_isiz,
|
||||
'vwby' : _Enum_vwby,
|
||||
'pple' : _Enum_pple,
|
||||
'ipnl' : _Enum_ipnl,
|
||||
'sodr' : _Enum_sodr,
|
||||
'ipnl' : _Enum_ipnl,
|
||||
'ese0' : _Enum_ese0,
|
||||
'vwby' : _Enum_vwby,
|
||||
'gsen' : _Enum_gsen,
|
||||
'isiz' : _Enum_isiz,
|
||||
'earr' : _Enum_earr,
|
||||
'pple' : _Enum_pple,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Files and suitcases: Classes representing files and suitcases
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -243,37 +243,37 @@ desk_accessory_suitcase._elemdict = {
|
|||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'clpf' : clipping,
|
||||
'docf' : document_file,
|
||||
'stcs' : suitcase,
|
||||
'appf' : application_file,
|
||||
'file' : file,
|
||||
'fsut' : font_suitcase,
|
||||
'pack' : package,
|
||||
'dafi' : desk_accessory_file,
|
||||
'alia' : alias_file,
|
||||
'dsut' : desk_accessory_suitcase,
|
||||
'inlf' : internet_location_file,
|
||||
'fntf' : font_file,
|
||||
'sndf' : sound_file,
|
||||
'fntf' : font_file,
|
||||
'inlf' : internet_location_file,
|
||||
'clpf' : clipping,
|
||||
'alia' : alias_file,
|
||||
'dafi' : desk_accessory_file,
|
||||
'dsut' : desk_accessory_suitcase,
|
||||
'fsut' : font_suitcase,
|
||||
'file' : file,
|
||||
'appf' : application_file,
|
||||
'stcs' : suitcase,
|
||||
'docf' : document_file,
|
||||
'pack' : package,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'orig' : original_item,
|
||||
'pspd' : stationery,
|
||||
'aslk' : locked,
|
||||
'iloc' : location,
|
||||
'mprt' : minimum_size,
|
||||
'fcrt' : creator_type,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'asty' : file_type,
|
||||
'hscr' : has_scripting_terminology,
|
||||
'sprt' : suggested_size,
|
||||
'appt' : preferred_size,
|
||||
'isab' : accepts_high_level_events,
|
||||
'snd ' : sound,
|
||||
'ver2' : product_version,
|
||||
'vers' : version,
|
||||
'ver2' : product_version,
|
||||
'snd ' : sound,
|
||||
'appt' : preferred_size,
|
||||
'sprt' : suggested_size,
|
||||
'isab' : accepts_high_level_events,
|
||||
'hscr' : has_scripting_terminology,
|
||||
'asty' : file_type,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'fcrt' : creator_type,
|
||||
'mprt' : minimum_size,
|
||||
'pspd' : stationery,
|
||||
'iloc' : location,
|
||||
'aslk' : locked,
|
||||
'orig' : original_item,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Finder Basics: Commonly-used Finder commands and object classes
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ class Finder_Basics_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -51,7 +51,7 @@ class Finder_Basics_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -70,7 +70,7 @@ class Finder_Basics_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -89,7 +89,7 @@ class Finder_Basics_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -108,7 +108,7 @@ class Finder_Basics_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -134,7 +134,7 @@ class Finder_Basics_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -196,6 +196,10 @@ class desktop(aetools.NProperty):
|
|||
"""desktop - the desktop """
|
||||
which = 'desk'
|
||||
want = 'cdsk'
|
||||
class execution_state(aetools.NProperty):
|
||||
"""execution state - the current execution state of the Finder """
|
||||
which = 'exec'
|
||||
want = 'ese0'
|
||||
class Finder_preferences(aetools.NProperty):
|
||||
"""Finder preferences - Various preferences that apply to the Finder as a whole """
|
||||
which = 'pfrp'
|
||||
|
|
@ -224,6 +228,7 @@ class Finder_preferences(aetools.NProperty):
|
|||
# element 'cwin' as ['indx', 'name']
|
||||
# element 'cwnd' as ['indx', 'name']
|
||||
# element 'iwnd' as ['indx', 'name']
|
||||
# element 'vwnd' as ['indx', 'name']
|
||||
# element 'lwnd' as ['indx', 'name']
|
||||
# element 'dwnd' as ['indx', 'name']
|
||||
|
||||
|
|
@ -285,6 +290,7 @@ application._propdict = {
|
|||
'version' : version,
|
||||
'about_this_computer' : about_this_computer,
|
||||
'desktop' : desktop,
|
||||
'execution_state' : execution_state,
|
||||
'Finder_preferences' : Finder_preferences,
|
||||
}
|
||||
application._elemdict = {
|
||||
|
|
@ -312,6 +318,7 @@ application._elemdict = {
|
|||
'window' : Earlier_terms.window,
|
||||
'container_window' : Earlier_terms.container_window,
|
||||
'information_window' : Earlier_terms.information_window,
|
||||
'view_options_window' : Window_classes.view_options_window,
|
||||
'clipping_window' : Window_classes.clipping_window,
|
||||
'content_space' : Window_classes.content_space,
|
||||
}
|
||||
|
|
@ -333,34 +340,35 @@ special_folders._elemdict = {
|
|||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'spfl' : special_folders,
|
||||
'capp' : application,
|
||||
'spfl' : special_folders,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'amnu' : apple_menu_items_folder,
|
||||
'extn' : extensions_folder,
|
||||
'pnam' : name,
|
||||
'fshr' : file_sharing,
|
||||
'pcli' : clipboard,
|
||||
'strt' : startup_items_folder,
|
||||
'pref' : preferences_folder,
|
||||
'pisf' : frontmost,
|
||||
'pins' : insertion_location,
|
||||
'pvis' : visible,
|
||||
'abbx' : about_this_computer,
|
||||
'temp' : temporary_items_folder,
|
||||
'font' : fonts_folder,
|
||||
'pfrp' : Finder_preferences,
|
||||
'desk' : desktop,
|
||||
'fsup' : sharing_starting_up,
|
||||
'mfre' : largest_free_block,
|
||||
'ctrl' : control_panels_folder,
|
||||
'sele' : selection,
|
||||
'shdf' : shutdown_items_folder,
|
||||
'macs' : system_folder,
|
||||
'ver2' : product_version,
|
||||
'vers' : version,
|
||||
'ver2' : product_version,
|
||||
'pfrp' : Finder_preferences,
|
||||
'exec' : execution_state,
|
||||
'pins' : insertion_location,
|
||||
'mfre' : largest_free_block,
|
||||
'fsup' : sharing_starting_up,
|
||||
'desk' : desktop,
|
||||
'ctrl' : control_panels_folder,
|
||||
'macs' : system_folder,
|
||||
'font' : fonts_folder,
|
||||
'abbx' : about_this_computer,
|
||||
'shdf' : shutdown_items_folder,
|
||||
'temp' : temporary_items_folder,
|
||||
'pvis' : visible,
|
||||
'sele' : selection,
|
||||
'pisf' : frontmost,
|
||||
'pref' : preferences_folder,
|
||||
'strt' : startup_items_folder,
|
||||
'pcli' : clipboard,
|
||||
'fshr' : file_sharing,
|
||||
'pnam' : name,
|
||||
'extn' : extensions_folder,
|
||||
'amnu' : apple_menu_items_folder,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Finder items: Commands used with file system items, and basic item definition
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ class Finder_items_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -51,7 +51,7 @@ class Finder_items_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -71,7 +71,7 @@ class Finder_items_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -91,7 +91,7 @@ class Finder_items_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -111,28 +111,34 @@ class Finder_items_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_put_away = {
|
||||
'asking' : 'fask',
|
||||
}
|
||||
|
||||
def put_away(self, _object, _attributes={}, **_arguments):
|
||||
"""put away: Put away the specified object(s)
|
||||
Required argument: the items to put away
|
||||
Keyword argument asking: Specifies whether or not to present a dialog to confirm putting this item away.
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
Returns: the object put away in its put-away location
|
||||
"""
|
||||
_code = 'fndr'
|
||||
_subcode = 'ptwy'
|
||||
|
||||
if _arguments: raise TypeError, 'No optional args expected'
|
||||
aetools.keysubst(_arguments, self._argmap_put_away)
|
||||
_arguments['----'] = _object
|
||||
|
||||
aetools.enumsubst(_arguments, 'fask', _Enum_bool)
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -152,7 +158,7 @@ class Finder_items_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -172,7 +178,7 @@ class Finder_items_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -293,6 +299,7 @@ item._propdict = {
|
|||
}
|
||||
item._elemdict = {
|
||||
}
|
||||
_Enum_bool = None # XXXX enum bool not found!!
|
||||
|
||||
#
|
||||
# Indices of types declared in this module
|
||||
|
|
@ -302,27 +309,27 @@ _classdeclarations = {
|
|||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'iwnd' : information_window,
|
||||
'posn' : position,
|
||||
'kind' : kind,
|
||||
'ptsz' : size,
|
||||
'phys' : physical_size,
|
||||
'dwnd' : content_space,
|
||||
'pbnd' : bounds,
|
||||
'issl' : selected,
|
||||
'labi' : label_index,
|
||||
'dscr' : description,
|
||||
'comt' : comment,
|
||||
'ctnr' : container,
|
||||
'pidx' : index,
|
||||
'iimg' : icon,
|
||||
'ID ' : id,
|
||||
'cwin' : window,
|
||||
'pnam' : name,
|
||||
'ascd' : creation_date,
|
||||
'cdis' : disk,
|
||||
'asmo' : modification_date,
|
||||
'ascd' : creation_date,
|
||||
'pnam' : name,
|
||||
'labi' : label_index,
|
||||
'ID ' : id,
|
||||
'iimg' : icon,
|
||||
'pidx' : index,
|
||||
'dwnd' : content_space,
|
||||
'cwin' : window,
|
||||
'comt' : comment,
|
||||
'dscr' : description,
|
||||
'asdr' : folder,
|
||||
'issl' : selected,
|
||||
'pbnd' : bounds,
|
||||
'ctnr' : container,
|
||||
'phys' : physical_size,
|
||||
'ptsz' : size,
|
||||
'kind' : kind,
|
||||
'posn' : position,
|
||||
'iwnd' : information_window,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Obsolete terms: Terms that have been deprecated
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -175,31 +175,31 @@ status_window._elemdict = {
|
|||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'ccdv' : control_panel,
|
||||
'iwnd' : information_window,
|
||||
'ctnr' : container,
|
||||
'qwnd' : status_window,
|
||||
'capp' : application,
|
||||
'swnd' : sharing_window,
|
||||
'ccdv' : control_panel,
|
||||
'prcs' : process,
|
||||
'cobj' : item,
|
||||
'file' : file,
|
||||
'sctr' : sharable_container,
|
||||
'cwnd' : container_window,
|
||||
'prcs' : process,
|
||||
'file' : file,
|
||||
'cobj' : item,
|
||||
'qwnd' : status_window,
|
||||
'swnd' : sharing_window,
|
||||
'ctnr' : container,
|
||||
'iwnd' : information_window,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'crtd' : creation_date_obsolete,
|
||||
'cfol' : folder_obsolete,
|
||||
'ctnr' : container,
|
||||
'cwnd' : container_window,
|
||||
'pvwp' : view_preferences,
|
||||
'swnd' : sharing_window,
|
||||
'sctr' : sharable_container,
|
||||
'cobj' : item,
|
||||
'modd' : modification_date_obsolete,
|
||||
'islk' : locked_obsolete,
|
||||
'fitp' : file_type_obsolete,
|
||||
'swnd' : sharing_window,
|
||||
'cfol' : folder_obsolete,
|
||||
'crtd' : creation_date_obsolete,
|
||||
'islk' : locked_obsolete,
|
||||
'modd' : modification_date_obsolete,
|
||||
'sctr' : sharable_container,
|
||||
'pvwp' : view_preferences,
|
||||
'cwnd' : container_window,
|
||||
'ctnr' : container,
|
||||
'cobj' : item,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Process classes: Classes representing processes that are running
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -120,26 +120,26 @@ desk_accessory_process._elemdict = {
|
|||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'prcs' : process,
|
||||
'pcda' : desk_accessory_process,
|
||||
'pcap' : application_process,
|
||||
'prcs' : process,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'revt' : accepts_remote_events,
|
||||
'appf' : application_file,
|
||||
'pnam' : name,
|
||||
'file' : file,
|
||||
'pusd' : partition_space_used,
|
||||
'fcrt' : creator_type,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'asty' : file_type,
|
||||
'hscr' : has_scripting_terminology,
|
||||
'dafi' : desk_accessory_file,
|
||||
'isab' : accepts_high_level_events,
|
||||
'appt' : total_partition_size,
|
||||
'pisf' : frontmost,
|
||||
'pvis' : visible,
|
||||
'pisf' : frontmost,
|
||||
'appt' : total_partition_size,
|
||||
'isab' : accepts_high_level_events,
|
||||
'dafi' : desk_accessory_file,
|
||||
'hscr' : has_scripting_terminology,
|
||||
'asty' : file_type,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'fcrt' : creator_type,
|
||||
'pusd' : partition_space_used,
|
||||
'file' : file,
|
||||
'pnam' : name,
|
||||
'appf' : application_file,
|
||||
'revt' : accepts_remote_events,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Standard Suite: Common terms that most applications should support
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -10,7 +10,8 @@ import MacOS
|
|||
|
||||
_code = 'CoRe'
|
||||
|
||||
class Standard_Suite_Events:
|
||||
from StdSuites.Standard_Suite import *
|
||||
class Standard_Suite_Events(Standard_Suite_Events):
|
||||
|
||||
_argmap_open = {
|
||||
'using' : 'usin',
|
||||
|
|
@ -33,7 +34,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -58,7 +59,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -77,7 +78,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -97,7 +98,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -123,7 +124,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -149,7 +150,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -170,7 +171,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -202,7 +203,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -223,7 +224,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -254,7 +255,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -289,7 +290,7 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
|
|
@ -309,12 +310,14 @@ class Standard_Suite_Events:
|
|||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.has_key('errn'):
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
import AppleScript_Suite
|
||||
import AppleScript_Suite
|
||||
_Enum_list = None # XXXX enum list not found!!
|
||||
_Enum_bool = None # XXXX enum bool not found!!
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Type Definitions: Definitions of records used in scripting the Finder
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -221,46 +221,46 @@ alias_list._elemdict = {
|
|||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'clbl' : label,
|
||||
'ifam' : icon_family,
|
||||
'alst' : alias_list,
|
||||
'cprf' : preferences,
|
||||
'alst' : alias_list,
|
||||
'ifam' : icon_family,
|
||||
'clbl' : label,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'ics#' : small_monochrome_icon_and_mask,
|
||||
'scda' : shows_creation_date,
|
||||
'uswg' : uses_wide_grid,
|
||||
'sprg' : spring_open_folders,
|
||||
'is32' : small_32_bit_icon,
|
||||
'ICN#' : large_monochrome_icon_and_mask,
|
||||
'cwin' : window,
|
||||
'sdat' : shows_modification_date,
|
||||
'iisz' : spatial_view_icon_size,
|
||||
'barr' : button_view_arrangement,
|
||||
'il32' : large_32_bit_icon,
|
||||
'l8mk' : large_8_bit_mask,
|
||||
'scom' : shows_comments,
|
||||
'bisz' : button_view_icon_size,
|
||||
'lisz' : list_view_icon_size,
|
||||
'slbl' : shows_label,
|
||||
'icl4' : large_4_bit_icon,
|
||||
'usme' : uses_simple_menus,
|
||||
'urdt' : uses_relative_dates,
|
||||
'vfnt' : view_font,
|
||||
'sfsz' : calculates_folder_sizes,
|
||||
'pidx' : index,
|
||||
'icl8' : large_8_bit_icon,
|
||||
'ssiz' : shows_size,
|
||||
'ics8' : small_8_bit_mask,
|
||||
'colr' : color,
|
||||
'svrs' : shows_version,
|
||||
'pnam' : name,
|
||||
'sknd' : shows_kind,
|
||||
'vfsz' : view_font_size,
|
||||
'iarr' : spatial_view_arrangement,
|
||||
'ics4' : small_4_bit_icon,
|
||||
'dela' : delay_before_springing,
|
||||
'ics4' : small_4_bit_icon,
|
||||
'iarr' : spatial_view_arrangement,
|
||||
'barr' : button_view_arrangement,
|
||||
'ics#' : small_monochrome_icon_and_mask,
|
||||
'sknd' : shows_kind,
|
||||
'svrs' : shows_version,
|
||||
'colr' : color,
|
||||
'ics8' : small_8_bit_mask,
|
||||
'icl8' : large_8_bit_icon,
|
||||
'sprg' : spring_open_folders,
|
||||
'vfsz' : view_font_size,
|
||||
'sfsz' : calculates_folder_sizes,
|
||||
'l8mk' : large_8_bit_mask,
|
||||
'vfnt' : view_font,
|
||||
'urdt' : uses_relative_dates,
|
||||
'usme' : uses_simple_menus,
|
||||
'icl4' : large_4_bit_icon,
|
||||
'slbl' : shows_label,
|
||||
'lisz' : list_view_icon_size,
|
||||
'scda' : shows_creation_date,
|
||||
'bisz' : button_view_icon_size,
|
||||
'pidx' : index,
|
||||
'scom' : shows_comments,
|
||||
'iisz' : spatial_view_icon_size,
|
||||
'sdat' : shows_modification_date,
|
||||
'cwin' : window,
|
||||
'ICN#' : large_monochrome_icon_and_mask,
|
||||
'is32' : small_32_bit_icon,
|
||||
'pnam' : name,
|
||||
'il32' : large_32_bit_icon,
|
||||
'uswg' : uses_wide_grid,
|
||||
'ssiz' : shows_size,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Suite Window classes: Classes representing windows
|
||||
Level 1, version 1
|
||||
|
||||
Generated from Macintosh HD:Systeemmap:Finder
|
||||
Generated from Moes:Systeemmap:Finder
|
||||
AETE/AEUT resource version 0/144, language 0, script 0
|
||||
"""
|
||||
|
||||
|
|
@ -50,8 +50,10 @@ class modal(aetools.NProperty):
|
|||
"""modal - Is the window modal? """
|
||||
which = 'pmod'
|
||||
want = 'bool'
|
||||
|
||||
resizable = titled
|
||||
class resizable(aetools.NProperty):
|
||||
"""resizable - Is the window resizable? """
|
||||
which = 'prsz'
|
||||
want = 'bool'
|
||||
class zoomable(aetools.NProperty):
|
||||
"""zoomable - Is the window zoomable? """
|
||||
which = 'iszm'
|
||||
|
|
@ -227,6 +229,12 @@ 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'
|
||||
|
|
@ -305,6 +313,12 @@ information_window._propdict = {
|
|||
}
|
||||
information_window._elemdict = {
|
||||
}
|
||||
view_options_window._propdict = {
|
||||
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
||||
'item' : item,
|
||||
}
|
||||
view_options_window._elemdict = {
|
||||
}
|
||||
preferences_window._propdict = {
|
||||
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
|
||||
'current_panel' : current_panel,
|
||||
|
|
@ -325,63 +339,65 @@ content_space._elemdict = {
|
|||
# Indices of types declared in this module
|
||||
#
|
||||
_classdeclarations = {
|
||||
'pwnd' : preferences_window,
|
||||
'vwnd' : view_options_window,
|
||||
'cwin' : window,
|
||||
'cwnd' : container_window,
|
||||
'dwnd' : content_space,
|
||||
'iwnd' : information_window,
|
||||
'lwnd' : clipping_window,
|
||||
'cwnd' : container_window,
|
||||
'cwin' : window,
|
||||
'pwnd' : preferences_window,
|
||||
}
|
||||
|
||||
_propdeclarations = {
|
||||
'prsz' : resizable,
|
||||
'barr' : button_view_arrangement,
|
||||
'pzum' : zoomed,
|
||||
'iarr' : spatial_view_arrangement,
|
||||
'hclb' : closeable,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'ver2' : product_version,
|
||||
'sfsz' : calculates_folder_sizes,
|
||||
'sprt' : suggested_size,
|
||||
'zumf' : zoomed_full_size,
|
||||
'urdt' : uses_relative_dates,
|
||||
'panl' : current_panel,
|
||||
'pmod' : modal,
|
||||
'pspd' : stationery,
|
||||
'scom' : shows_comments,
|
||||
'appt' : preferred_size,
|
||||
'aslk' : locked,
|
||||
'pbnd' : bounds,
|
||||
'iimg' : icon,
|
||||
'mprt' : minimum_size,
|
||||
'pnam' : name,
|
||||
'ssiz' : shows_size,
|
||||
'asmo' : modification_date,
|
||||
'cobj' : item,
|
||||
'ptit' : titled,
|
||||
'posn' : position,
|
||||
'cuss' : has_custom_view_settings,
|
||||
'phys' : physical_size,
|
||||
'sknd' : shows_kind,
|
||||
'svrs' : shows_version,
|
||||
'svew' : previous_list_view,
|
||||
'comt' : comment,
|
||||
'iszm' : zoomable,
|
||||
'sord' : sort_direction,
|
||||
'ascd' : creation_date,
|
||||
'ctnr' : container,
|
||||
'wshd' : collapsed,
|
||||
'slbl' : shows_label,
|
||||
'pull' : pulled_open,
|
||||
'ptsz' : size,
|
||||
'pvis' : visible,
|
||||
'pidx' : index,
|
||||
'isfl' : floating,
|
||||
'warn' : warns_before_emptying,
|
||||
'drwr' : popup,
|
||||
'sdat' : shows_modification_date,
|
||||
'pvew' : view,
|
||||
'scda' : shows_creation_date,
|
||||
'vers' : version,
|
||||
'aslk' : locked,
|
||||
'pvew' : view,
|
||||
'sdat' : shows_modification_date,
|
||||
'drwr' : popup,
|
||||
'sprt' : suggested_size,
|
||||
'pvis' : visible,
|
||||
'ptsz' : size,
|
||||
'pull' : pulled_open,
|
||||
'slbl' : shows_label,
|
||||
'wshd' : collapsed,
|
||||
'ctnr' : container,
|
||||
'ascd' : creation_date,
|
||||
'warn' : warns_before_emptying,
|
||||
'sord' : sort_direction,
|
||||
'iszm' : zoomable,
|
||||
'comt' : comment,
|
||||
'svew' : previous_list_view,
|
||||
'svrs' : shows_version,
|
||||
'sknd' : shows_kind,
|
||||
'phys' : physical_size,
|
||||
'iarr' : spatial_view_arrangement,
|
||||
'posn' : position,
|
||||
'ptit' : titled,
|
||||
'cobj' : item,
|
||||
'asmo' : modification_date,
|
||||
'ssiz' : shows_size,
|
||||
'pnam' : name,
|
||||
'pbnd' : bounds,
|
||||
'mprt' : minimum_size,
|
||||
'iimg' : icon,
|
||||
'cuss' : has_custom_view_settings,
|
||||
'appt' : preferred_size,
|
||||
'scom' : shows_comments,
|
||||
'pmod' : modal,
|
||||
'panl' : current_panel,
|
||||
'urdt' : uses_relative_dates,
|
||||
'zumf' : zoomed_full_size,
|
||||
'sfsz' : calculates_folder_sizes,
|
||||
'c@#^' : _3c_Inheritance_3e_,
|
||||
'isfl' : floating,
|
||||
'hclb' : closeable,
|
||||
'pspd' : stationery,
|
||||
'pzum' : zoomed,
|
||||
'barr' : button_view_arrangement,
|
||||
'ver2' : product_version,
|
||||
}
|
||||
|
||||
_compdeclarations = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Package generated from Macintosh HD:Systeemmap:Finder
|
||||
Package generated from Moes:Systeemmap:Finder
|
||||
Resource aete resid 0
|
||||
"""
|
||||
import aetools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue