diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-28 23:38:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-28 23:38:00 (GMT) |
commit | d4885f87fa203587b4f5cfd5961f7acbbe36c3c0 (patch) | |
tree | 71f457810871e028e1ddee19f92ac17a1a62c3ef /Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py | |
parent | 00c348328bacfa137441f9a28413e7782534e1c6 (diff) | |
download | cpython-d4885f87fa203587b4f5cfd5961f7acbbe36c3c0.zip cpython-d4885f87fa203587b4f5cfd5961f7acbbe36c3c0.tar.gz cpython-d4885f87fa203587b4f5cfd5961f7acbbe36c3c0.tar.bz2 |
Sigh: didn't catch all lists that needed to be sorted. Regenerated again.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py')
-rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py | 312 |
1 files changed, 156 insertions, 156 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py b/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py index dad3e35..9c70beb 100644 --- a/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py +++ b/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py @@ -28,42 +28,30 @@ clipping_windows = clipping_window class container_window(aetools.ComponentItem): """container window - A window that contains items """ want = 'cwnd' +class button_view_arrangement(aetools.NProperty): + """button view arrangement - the property by which to keep icons arranged within a button view window """ + which = 'barr' + want = 'earr' +class calculates_folder_sizes(aetools.NProperty): + """calculates folder sizes - Are folder sizes calculated and displayed in the window? (does not apply to suitcase windows) """ + which = 'sfsz' + want = 'bool' class container(aetools.NProperty): """container - the container from which the window was opened """ which = 'ctnr' want = 'obj ' -class item(aetools.NProperty): - """item - the item from which the window was opened (always returns something) """ - which = 'cobj' - want = 'obj ' class has_custom_view_settings(aetools.NProperty): """has custom view settings - Does the folder have custom view settings or is it using the default global settings? """ which = 'cuss' want = 'bool' -class view(aetools.NProperty): - """view - the current view for the window (icon, name, date, etc.) """ - which = 'pvew' - want = 'long' +class item(aetools.NProperty): + """item - the item from which the window was opened (always returns something) """ + which = 'cobj' + want = 'obj ' class previous_list_view(aetools.NProperty): """previous list view - the last non-icon view (by name, by date, etc.) selected for the container (forgotten as soon as the window is closed and only available when the window is open) """ which = 'svew' want = 'enum' -class button_view_arrangement(aetools.NProperty): - """button view arrangement - the property by which to keep icons arranged within a button view window """ - which = 'barr' - want = 'earr' -class spatial_view_arrangement(aetools.NProperty): - """spatial view arrangement - the property by which to keep icons arranged within a spatial view window """ - which = 'iarr' - want = 'earr' -class sort_direction(aetools.NProperty): - """sort direction - The direction in which the window is sorted """ - which = 'sord' - want = 'sodr' -class calculates_folder_sizes(aetools.NProperty): - """calculates folder sizes - Are folder sizes calculated and displayed in the window? (does not apply to suitcase windows) """ - which = 'sfsz' - want = 'bool' class shows_comments(aetools.NProperty): """shows comments - Are comments displayed in the window? (does not apply to suitcases) """ which = 'scom' @@ -92,10 +80,22 @@ class shows_version(aetools.NProperty): """shows version - Are file versions displayed in the window? (does not apply to suitcase windows) """ which = 'svrs' want = 'bool' +class sort_direction(aetools.NProperty): + """sort direction - The direction in which the window is sorted """ + which = 'sord' + want = 'sodr' +class spatial_view_arrangement(aetools.NProperty): + """spatial view arrangement - the property by which to keep icons arranged within a spatial view window """ + which = 'iarr' + want = 'earr' class uses_relative_dates(aetools.NProperty): """uses relative dates - Are relative dates (e.g., today, yesterday) shown in the window? """ which = 'urdt' want = 'bool' +class view(aetools.NProperty): + """view - the current view for the window (icon, name, date, etc.) """ + which = 'pvew' + want = 'long' container_windows = container_window @@ -108,66 +108,66 @@ content_spaces = content_space class information_window(aetools.ComponentItem): """information window - An information window (opened by \xd2Get Info\xd3) """ want = 'iwnd' -class current_panel(aetools.NProperty): - """current panel - the current panel in the information window """ - which = 'panl' - want = 'ipnl' class comment(aetools.NProperty): """comment - the comment """ which = 'comt' want = 'itxt' -class size(aetools.NProperty): - """size - the logical size of the item """ - which = 'ptsz' - want = 'long' -class physical_size(aetools.NProperty): - """physical size - the actual space used by the item on disk """ - which = 'phys' - want = 'long' class creation_date(aetools.NProperty): """creation date - the date on which the item was created """ which = 'ascd' want = 'ldt ' +class current_panel(aetools.NProperty): + """current panel - the current panel in the information window """ + which = 'panl' + want = 'ipnl' +class icon(aetools.NProperty): + """icon - the icon bitmap of the item """ + which = 'iimg' + want = 'ifam' +class locked(aetools.NProperty): + """locked - Is the item locked (applies only to file and application information windows)? """ + which = 'aslk' + want = 'bool' +class minimum_size(aetools.NProperty): + """minimum size - the smallest memory size with which the application can be launched (only applies to information windows for applications) """ + which = 'mprt' + want = 'long' class modification_date(aetools.NProperty): """modification date - the date on which the item was last modified """ which = 'asmo' want = 'ldt ' -class suggested_size(aetools.NProperty): - """suggested size - the memory size with which the developer recommends the application be launched """ - which = 'sprt' - want = 'long' -class minimum_size(aetools.NProperty): - """minimum size - the smallest memory size with which the application can be launched (only applies to information windows for applications) """ - which = 'mprt' +class physical_size(aetools.NProperty): + """physical size - the actual space used by the item on disk """ + which = 'phys' want = 'long' class preferred_size(aetools.NProperty): """preferred size - the memory size with which the application will be launched (only applies to information windows for applications) """ which = 'appt' want = 'long' -class icon(aetools.NProperty): - """icon - the icon bitmap of the item """ - which = 'iimg' - want = 'ifam' -class locked(aetools.NProperty): - """locked - Is the item locked (applies only to file and application information windows)? """ - which = 'aslk' - want = 'bool' -class stationery(aetools.NProperty): - """stationery - Is the item a stationery pad? """ - which = 'pspd' - want = 'bool' -class warns_before_emptying(aetools.NProperty): - """warns before emptying - Display a dialog when emptying the trash (only valid for trash info window)? """ - which = 'warn' - 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 size(aetools.NProperty): + """size - the logical size of the item """ + which = 'ptsz' + want = 'long' +class stationery(aetools.NProperty): + """stationery - Is the item a stationery pad? """ + which = 'pspd' + want = 'bool' +class suggested_size(aetools.NProperty): + """suggested size - the memory size with which the developer recommends the application be launched """ + which = 'sprt' + want = 'long' class version(aetools.NProperty): """version - the version of the file (visible at the bottom of the \xd2Get Info\xd3 window) """ which = 'vers' want = 'itxt' +class warns_before_emptying(aetools.NProperty): + """warns before emptying - Display a dialog when emptying the trash (only valid for trash info window)? """ + which = 'warn' + want = 'bool' information_windows = information_window @@ -184,42 +184,58 @@ view_options_windows = view_options_window 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 collapsed(aetools.NProperty): + """collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """ + which = 'wshd' + want = 'bool' class floating(aetools.NProperty): """floating - Does the window have a title bar? """ which = 'isfl' want = 'bool' +class index(aetools.NProperty): + """index - the number of the window in the front-to-back layer ordering """ + which = 'pidx' + want = 'long' class modal(aetools.NProperty): """modal - Is the window modal? """ which = 'pmod' want = 'bool' +class name(aetools.NProperty): + """name - the name of the window """ + which = 'pnam' + want = 'itxt' +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 position(aetools.NProperty): + """position - the upper left position of the window """ + which = 'posn' + want = 'QDpt' +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 resizable(aetools.NProperty): """resizable - Is the window resizable? """ which = 'prsz' want = 'bool' +class titled(aetools.NProperty): + """titled - Does the window have a title bar? """ + which = 'ptit' + want = 'bool' +class visible(aetools.NProperty): + """visible - Is the window visible (always true for open Finder windows)? """ + which = 'pvis' + want = 'bool' class zoomable(aetools.NProperty): """zoomable - Is the window zoomable? """ which = 'iszm' @@ -232,22 +248,6 @@ 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_window._superclassnames = ['window'] @@ -259,15 +259,12 @@ clipping_window._privelemdict = { container_window._superclassnames = ['window'] container_window._privpropdict = { '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, + 'button_view_arrangement' : button_view_arrangement, + 'calculates_folder_sizes' : calculates_folder_sizes, 'container' : container, - 'item' : item, 'has_custom_view_settings' : has_custom_view_settings, - 'view' : view, + 'item' : item, 'previous_list_view' : previous_list_view, - 'button_view_arrangement' : button_view_arrangement, - 'spatial_view_arrangement' : spatial_view_arrangement, - 'sort_direction' : sort_direction, - 'calculates_folder_sizes' : calculates_folder_sizes, 'shows_comments' : shows_comments, 'shows_creation_date' : shows_creation_date, 'shows_kind' : shows_kind, @@ -275,7 +272,10 @@ container_window._privpropdict = { 'shows_modification_date' : shows_modification_date, 'shows_size' : shows_size, 'shows_version' : shows_version, + 'sort_direction' : sort_direction, + 'spatial_view_arrangement' : spatial_view_arrangement, 'uses_relative_dates' : uses_relative_dates, + 'view' : view, } container_window._privelemdict = { } @@ -287,22 +287,22 @@ content_space._privelemdict = { information_window._superclassnames = ['window'] information_window._privpropdict = { '_3c_Inheritance_3e_' : _3c_Inheritance_3e_, - 'item' : item, - 'current_panel' : current_panel, 'comment' : comment, - 'size' : size, - 'physical_size' : physical_size, 'creation_date' : creation_date, - 'modification_date' : modification_date, - 'suggested_size' : suggested_size, - 'minimum_size' : minimum_size, - 'preferred_size' : preferred_size, + 'current_panel' : current_panel, 'icon' : icon, + 'item' : item, 'locked' : locked, - 'stationery' : stationery, - 'warns_before_emptying' : warns_before_emptying, + 'minimum_size' : minimum_size, + 'modification_date' : modification_date, + 'physical_size' : physical_size, + 'preferred_size' : preferred_size, 'product_version' : product_version, + 'size' : size, + 'stationery' : stationery, + 'suggested_size' : suggested_size, 'version' : version, + 'warns_before_emptying' : warns_before_emptying, } information_window._privelemdict = { } @@ -322,22 +322,22 @@ view_options_window._privelemdict = { } window._superclassnames = [] window._privpropdict = { - 'position' : position, 'bounds' : bounds, - 'titled' : titled, - 'name' : name, - 'index' : index, 'closeable' : closeable, + 'collapsed' : collapsed, 'floating' : floating, + 'index' : index, 'modal' : modal, + 'name' : name, + 'popup' : popup, + 'position' : position, + 'pulled_open' : pulled_open, 'resizable' : resizable, + 'titled' : titled, + 'visible' : visible, 'zoomable' : zoomable, 'zoomed' : zoomed, 'zoomed_full_size' : zoomed_full_size, - 'visible' : visible, - 'popup' : popup, - 'pulled_open' : pulled_open, - 'collapsed' : collapsed, } window._privelemdict = { } @@ -346,65 +346,65 @@ window._privelemdict = { # Indices of types declared in this module # _classdeclarations = { - 'pwnd' : preferences_window, 'cwin' : window, - 'vwnd' : view_options_window, - 'lwnd' : clipping_window, 'cwnd' : container_window, 'dwnd' : content_space, 'iwnd' : information_window, + 'lwnd' : clipping_window, + 'pwnd' : preferences_window, + 'vwnd' : view_options_window, } _propdeclarations = { - 'prsz' : resizable, - 'barr' : button_view_arrangement, - 'pbnd' : bounds, 'appt' : preferred_size, - 'iarr' : spatial_view_arrangement, - 'hclb' : closeable, + 'ascd' : creation_date, + 'aslk' : locked, + 'asmo' : modification_date, + 'barr' : button_view_arrangement, 'c@#^' : _3c_Inheritance_3e_, - 'ver2' : product_version, + 'cobj' : item, + 'comt' : comment, + 'ctnr' : container, 'cuss' : has_custom_view_settings, - 'sprt' : suggested_size, - 'zumf' : zoomed_full_size, - 'urdt' : uses_relative_dates, - 'panl' : current_panel, - 'pmod' : modal, - 'scom' : shows_comments, - 'pspd' : stationery, - 'aslk' : locked, - 'pzum' : zoomed, + 'drwr' : popup, + 'hclb' : closeable, + 'iarr' : spatial_view_arrangement, 'iimg' : icon, + 'isfl' : floating, + 'iszm' : zoomable, 'mprt' : minimum_size, + 'panl' : current_panel, + 'pbnd' : bounds, + 'phys' : physical_size, + 'pidx' : index, + 'pmod' : modal, 'pnam' : name, - 'ssiz' : shows_size, - 'asmo' : modification_date, - 'cobj' : item, - 'ptit' : titled, 'posn' : position, - 'vers' : version, - 'phys' : physical_size, - 'pull' : pulled_open, - '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, - 'warn' : warns_before_emptying, + 'prsz' : resizable, + 'pspd' : stationery, + 'ptit' : titled, 'ptsz' : size, + 'pull' : pulled_open, + 'pvew' : view, 'pvis' : visible, - 'pidx' : index, - 'isfl' : floating, - 'drwr' : popup, + 'pzum' : zoomed, + 'scda' : shows_creation_date, + 'scom' : shows_comments, 'sdat' : shows_modification_date, - 'pvew' : view, 'sfsz' : calculates_folder_sizes, - 'scda' : shows_creation_date, + 'sknd' : shows_kind, + 'slbl' : shows_label, + 'sord' : sort_direction, + 'sprt' : suggested_size, + 'ssiz' : shows_size, + 'svew' : previous_list_view, + 'svrs' : shows_version, + 'urdt' : uses_relative_dates, + 'ver2' : product_version, + 'vers' : version, + 'warn' : warns_before_emptying, + 'wshd' : collapsed, + 'zumf' : zoomed_full_size, } _compdeclarations = { |