| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | """Suite Window classes: Classes representing windows
 | 
					
						
							|  |  |  | Level 1, version 1 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | Generated from /System/Library/CoreServices/Finder.app | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | AETE/AEUT resource version 0/144, language 0, script 0 | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import aetools | 
					
						
							|  |  |  | import MacOS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _code = 'fndr' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class Window_classes_Events: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	pass | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | class Finder_window(aetools.ComponentItem): | 
					
						
							|  |  |  | 	"""Finder window - A file viewer window """ | 
					
						
							|  |  |  | 	want = 'brow' | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | class _3c_Inheritance_3e_(aetools.NProperty): | 
					
						
							|  |  |  | 	"""<Inheritance> - inherits some of its properties from the window class """ | 
					
						
							|  |  |  | 	which = 'c@#^' | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 	want = 'cwin' | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | class current_view(aetools.NProperty): | 
					
						
							|  |  |  | 	"""current view - the current view for the container window """ | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	which = 'pvew' | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	want = 'ecvw' | 
					
						
							|  |  |  | class icon_view_options(aetools.NProperty): | 
					
						
							|  |  |  | 	"""icon view options - the icon view options for the container window """ | 
					
						
							|  |  |  | 	which = 'icop' | 
					
						
							|  |  |  | 	want = 'icop' | 
					
						
							|  |  |  | class list_view_options(aetools.NProperty): | 
					
						
							|  |  |  | 	"""list view options - the list view options for the container window """ | 
					
						
							|  |  |  | 	which = 'lvop' | 
					
						
							|  |  |  | 	want = 'lvop' | 
					
						
							|  |  |  | class target(aetools.NProperty): | 
					
						
							|  |  |  | 	"""target - the container at which this file viewer is targeted """ | 
					
						
							|  |  |  | 	which = 'fvtg' | 
					
						
							|  |  |  | 	want = 'obj ' | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | Finder_windows = Finder_window | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | class clipping_window(aetools.ComponentItem): | 
					
						
							|  |  |  | 	"""clipping window - The window containing a clipping """ | 
					
						
							|  |  |  | 	want = 'lwnd' | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | clipping_windows = clipping_window | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | class information_window(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	"""information window - An inspector window (opened by \xd2Show Info\xd3) """ | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 	want = 'iwnd' | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | class current_panel(aetools.NProperty): | 
					
						
							|  |  |  | 	"""current panel - the current panel in the information window """ | 
					
						
							|  |  |  | 	which = 'panl' | 
					
						
							|  |  |  | 	want = 'ipnl' | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | class item(aetools.NProperty): | 
					
						
							|  |  |  | 	"""item - the item from which this window was opened """ | 
					
						
							|  |  |  | 	which = 'cobj' | 
					
						
							|  |  |  | 	want = 'obj ' | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | class preferences_window(aetools.ComponentItem): | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	"""preferences window - (NOT AVAILABLE YET) The Finder Preferences window """ | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 	want = 'pwnd' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | class window(aetools.ComponentItem): | 
					
						
							|  |  |  | 	"""window - A window """ | 
					
						
							|  |  |  | 	want = 'cwin' | 
					
						
							|  |  |  | class bounds(aetools.NProperty): | 
					
						
							|  |  |  | 	"""bounds - the boundary rectangle for the window """ | 
					
						
							|  |  |  | 	which = 'pbnd' | 
					
						
							|  |  |  | 	want = 'qdrt' | 
					
						
							|  |  |  | class closeable(aetools.NProperty): | 
					
						
							|  |  |  | 	"""closeable - Does the window have a close box? """ | 
					
						
							|  |  |  | 	which = 'hclb' | 
					
						
							|  |  |  | 	want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | class collapsed(aetools.NProperty): | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	"""collapsed - Is the window collapsed """ | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	which = 'wshd' | 
					
						
							|  |  |  | 	want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | class floating(aetools.NProperty): | 
					
						
							|  |  |  | 	"""floating - Does the window have a title bar? """ | 
					
						
							|  |  |  | 	which = 'isfl' | 
					
						
							|  |  |  | 	want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | class id(aetools.NProperty): | 
					
						
							|  |  |  | 	"""id - the unique id for this window """ | 
					
						
							|  |  |  | 	which = 'ID  ' | 
					
						
							|  |  |  | 	want = 'magn' | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | class index(aetools.NProperty): | 
					
						
							|  |  |  | 	"""index - the number of the window in the front-to-back layer ordering """ | 
					
						
							|  |  |  | 	which = 'pidx' | 
					
						
							|  |  |  | 	want = 'long' | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | class modal(aetools.NProperty): | 
					
						
							|  |  |  | 	"""modal - Is the window modal? """ | 
					
						
							|  |  |  | 	which = 'pmod' | 
					
						
							|  |  |  | 	want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | class name(aetools.NProperty): | 
					
						
							|  |  |  | 	"""name - the name of the window """ | 
					
						
							|  |  |  | 	which = 'pnam' | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	want = 'utxt' | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | class position(aetools.NProperty): | 
					
						
							|  |  |  | 	"""position - the upper left position of the window """ | 
					
						
							|  |  |  | 	which = 'posn' | 
					
						
							|  |  |  | 	want = 'QDpt' | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | class properties(aetools.NProperty): | 
					
						
							|  |  |  | 	"""properties - every property of a window """ | 
					
						
							|  |  |  | 	which = 'pALL' | 
					
						
							|  |  |  | 	want = 'reco' | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | class resizable(aetools.NProperty): | 
					
						
							|  |  |  | 	"""resizable - Is the window resizable? """ | 
					
						
							|  |  |  | 	which = 'prsz' | 
					
						
							|  |  |  | 	want = 'bool' | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 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' | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 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): | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	"""zoomed full size - Is the window zoomed to the full size of the screen? (can only be set, not read) """ | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 	which = 'zumf' | 
					
						
							|  |  |  | 	want = 'bool' | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | windows = window | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | Finder_window._superclassnames = ['window'] | 
					
						
							|  |  |  | Finder_window._privpropdict = { | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_, | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	'current_view' : current_view, | 
					
						
							|  |  |  | 	'icon_view_options' : icon_view_options, | 
					
						
							|  |  |  | 	'list_view_options' : list_view_options, | 
					
						
							|  |  |  | 	'target' : target, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | Finder_window._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | clipping_window._superclassnames = ['window'] | 
					
						
							|  |  |  | clipping_window._privpropdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_, | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | clipping_window._privelemdict = { | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | information_window._superclassnames = ['window'] | 
					
						
							|  |  |  | information_window._privpropdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'current_panel' : current_panel, | 
					
						
							|  |  |  | 	'item' : item, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | information_window._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | preferences_window._superclassnames = ['window'] | 
					
						
							|  |  |  | preferences_window._privpropdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 	'_3c_Inheritance_3e_' : _3c_Inheritance_3e_, | 
					
						
							|  |  |  | 	'current_panel' : current_panel, | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2002-08-07 15:53:42 +00:00
										 |  |  | preferences_window._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | window._superclassnames = [] | 
					
						
							|  |  |  | window._privpropdict = { | 
					
						
							|  |  |  | 	'bounds' : bounds, | 
					
						
							|  |  |  | 	'closeable' : closeable, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'collapsed' : collapsed, | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 	'floating' : floating, | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	'id' : id, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'index' : index, | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 	'modal' : modal, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'name' : name, | 
					
						
							|  |  |  | 	'position' : position, | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	'properties' : properties, | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 	'resizable' : resizable, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'titled' : titled, | 
					
						
							|  |  |  | 	'visible' : visible, | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | 	'zoomable' : zoomable, | 
					
						
							|  |  |  | 	'zoomed' : zoomed, | 
					
						
							|  |  |  | 	'zoomed_full_size' : zoomed_full_size, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2003-03-28 22:07:22 +00:00
										 |  |  | window._privelemdict = { | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # Indices of types declared in this module | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | _classdeclarations = { | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	'brow' : Finder_window, | 
					
						
							| 
									
										
										
										
											2002-04-23 21:08:54 +00:00
										 |  |  | 	'cwin' : window, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | 	'iwnd' : information_window, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'lwnd' : clipping_window, | 
					
						
							|  |  |  | 	'pwnd' : preferences_window, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _propdeclarations = { | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	'ID  ' : id, | 
					
						
							| 
									
										
										
										
											2002-04-23 21:08:54 +00:00
										 |  |  | 	'c@#^' : _3c_Inheritance_3e_, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'cobj' : item, | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	'fvtg' : target, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'hclb' : closeable, | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	'icop' : icon_view_options, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'isfl' : floating, | 
					
						
							|  |  |  | 	'iszm' : zoomable, | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	'lvop' : list_view_options, | 
					
						
							|  |  |  | 	'pALL' : properties, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'panl' : current_panel, | 
					
						
							|  |  |  | 	'pbnd' : bounds, | 
					
						
							|  |  |  | 	'pidx' : index, | 
					
						
							|  |  |  | 	'pmod' : modal, | 
					
						
							| 
									
										
										
										
											2002-04-23 21:08:54 +00:00
										 |  |  | 	'pnam' : name, | 
					
						
							|  |  |  | 	'posn' : position, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'prsz' : resizable, | 
					
						
							|  |  |  | 	'ptit' : titled, | 
					
						
							| 
									
										
										
										
											2003-03-29 00:13:17 +00:00
										 |  |  | 	'pvew' : current_view, | 
					
						
							| 
									
										
										
										
											2002-04-23 21:08:54 +00:00
										 |  |  | 	'pvis' : visible, | 
					
						
							| 
									
										
										
										
											2003-03-28 23:38:00 +00:00
										 |  |  | 	'pzum' : zoomed, | 
					
						
							|  |  |  | 	'wshd' : collapsed, | 
					
						
							|  |  |  | 	'zumf' : zoomed_full_size, | 
					
						
							| 
									
										
										
										
											2000-08-20 19:29:03 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _compdeclarations = { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _enumdeclarations = { | 
					
						
							|  |  |  | } |