2000-08-20 16:29:03 -03:00
""" Suite Window classes: Classes representing windows
Level 1 , version 1
2003-03-23 18:07:28 -04:00
Generated from / Volumes / Moes / Systeemmap / Finder
2000-08-20 16:29:03 -03:00
AETE / AEUT resource version 0 / 144 , language 0 , script 0
"""
import aetools
import MacOS
_code = ' fndr '
class Window_classes_Events :
pass
2003-03-28 18:07:22 -04:00
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@#^ '
2000-08-20 16:29:03 -03:00
want = ' cwin '
2003-03-28 18:07:22 -04:00
clipping_windows = clipping_window
2000-08-20 16:29:03 -03:00
class container_window ( aetools . ComponentItem ) :
""" container window - A window that contains items """
want = ' cwnd '
2003-03-28 19:38:00 -04:00
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 '
2000-08-20 16:29:03 -03:00
class container ( aetools . NProperty ) :
""" container - the container from which the window was opened """
which = ' ctnr '
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 '
2003-03-28 19:38:00 -04:00
class item ( aetools . NProperty ) :
""" item - the item from which the window was opened (always returns something) """
which = ' cobj '
want = ' obj '
2000-08-20 16:29:03 -03:00
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 shows_comments ( aetools . NProperty ) :
""" shows comments - Are comments displayed in the window? (does not apply to suitcases) """
which = ' scom '
want = ' bool '
class shows_creation_date ( aetools . NProperty ) :
""" shows creation date - Are creation dates displayed in the window? """
which = ' scda '
want = ' bool '
class shows_kind ( aetools . NProperty ) :
""" shows kind - Are document kinds displayed in the window? """
which = ' sknd '
want = ' bool '
class shows_label ( aetools . NProperty ) :
""" shows label - Are labels displayed in the window? """
which = ' slbl '
want = ' bool '
class shows_modification_date ( aetools . NProperty ) :
""" shows modification date - Are modification dates displayed in the window? """
which = ' sdat '
want = ' bool '
class shows_size ( aetools . NProperty ) :
""" shows size - Are file sizes displayed in the window? """
which = ' ssiz '
want = ' bool '
class shows_version ( aetools . NProperty ) :
""" shows version - Are file versions displayed in the window? (does not apply to suitcase windows) """
which = ' svrs '
want = ' bool '
2003-03-28 19:38:00 -04:00
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 '
2000-08-20 16:29:03 -03:00
class uses_relative_dates ( aetools . NProperty ) :
""" uses relative dates - Are relative dates (e.g., today, yesterday) shown in the window? """
which = ' urdt '
want = ' bool '
2003-03-28 19:38:00 -04:00
class view ( aetools . NProperty ) :
""" view - the current view for the window (icon, name, date, etc.) """
which = ' pvew '
want = ' long '
2000-08-20 16:29:03 -03:00
container_windows = container_window
2003-03-28 18:07:22 -04:00
class content_space ( aetools . ComponentItem ) :
""" content space - All windows, including the desktop window ( \xd2 Window \xd3 does not include the desktop window) """
want = ' dwnd '
content_spaces = content_space
2000-08-20 16:29:03 -03:00
class information_window ( aetools . ComponentItem ) :
2002-08-07 12:53:42 -03:00
""" information window - An information window (opened by \xd2 Get Info \xd3 ) """
2000-08-20 16:29:03 -03:00
want = ' iwnd '
class comment ( aetools . NProperty ) :
""" comment - the comment """
which = ' comt '
want = ' itxt '
class creation_date ( aetools . NProperty ) :
""" creation date - the date on which the item was created """
which = ' ascd '
want = ' ldt '
2003-03-28 19:38:00 -04:00
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 '
2000-08-20 16:29:03 -03:00
class modification_date ( aetools . NProperty ) :
""" modification date - the date on which the item was last modified """
which = ' asmo '
want = ' ldt '
2003-03-28 19:38:00 -04:00
class physical_size ( aetools . NProperty ) :
""" physical size - the actual space used by the item on disk """
which = ' phys '
2000-08-20 16:29:03 -03:00
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 product_version ( aetools . NProperty ) :
2002-08-07 12:53:42 -03:00
""" product version - the version of the product (visible at the top of the \xd2 Get Info \xd3 window) """
2000-08-20 16:29:03 -03:00
which = ' ver2 '
want = ' itxt '
2003-03-28 19:38:00 -04:00
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 '
2000-08-20 16:29:03 -03:00
class version ( aetools . NProperty ) :
2002-08-07 12:53:42 -03:00
""" version - the version of the file (visible at the bottom of the \xd2 Get Info \xd3 window) """
2000-08-20 16:29:03 -03:00
which = ' vers '
want = ' itxt '
2003-03-28 19:38:00 -04:00
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 '
2000-08-20 16:29:03 -03:00
information_windows = information_window
class preferences_window ( aetools . ComponentItem ) :
""" preferences window - The Finder Preferences window """
want = ' pwnd '
2003-03-28 18:07:22 -04:00
class view_options_window ( aetools . ComponentItem ) :
""" view options window - A View Options window """
want = ' vwnd '
2000-08-20 16:29:03 -03:00
2003-03-28 18:07:22 -04:00
view_options_windows = view_options_window
2000-08-20 16:29:03 -03:00
2003-03-28 18:07:22 -04: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 19:38:00 -04:00
class collapsed ( aetools . NProperty ) :
""" collapsed - Is the window collapsed (only applies to open non-pop-up windows)? """
which = ' wshd '
want = ' bool '
2003-03-28 18:07:22 -04:00
class floating ( aetools . NProperty ) :
""" floating - Does the window have a title bar? """
which = ' isfl '
want = ' bool '
2003-03-28 19:38:00 -04: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 18:07:22 -04:00
class modal ( aetools . NProperty ) :
""" modal - Is the window modal? """
which = ' pmod '
want = ' bool '
2003-03-28 19:38:00 -04:00
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 '
2003-03-28 18:07:22 -04:00
class resizable ( aetools . NProperty ) :
""" resizable - Is the window resizable? """
which = ' prsz '
want = ' bool '
2003-03-28 19:38:00 -04: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 18:07:22 -04: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 ) :
""" 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 '
2000-08-20 16:29:03 -03:00
2003-03-28 18:07:22 -04:00
windows = window
clipping_window . _superclassnames = [ ' window ' ]
clipping_window . _privpropdict = {
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
2000-08-20 16:29:03 -03:00
}
2003-03-28 18:07:22 -04:00
clipping_window . _privelemdict = {
2000-08-20 16:29:03 -03:00
}
2002-08-07 12:53:42 -03:00
container_window . _superclassnames = [ ' window ' ]
container_window . _privpropdict = {
2000-08-20 16:29:03 -03:00
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
2003-03-28 19:38:00 -04:00
' button_view_arrangement ' : button_view_arrangement ,
' calculates_folder_sizes ' : calculates_folder_sizes ,
2000-08-20 16:29:03 -03:00
' container ' : container ,
' has_custom_view_settings ' : has_custom_view_settings ,
2003-03-28 19:38:00 -04:00
' item ' : item ,
2000-08-20 16:29:03 -03:00
' previous_list_view ' : previous_list_view ,
' shows_comments ' : shows_comments ,
' shows_creation_date ' : shows_creation_date ,
' shows_kind ' : shows_kind ,
' shows_label ' : shows_label ,
' shows_modification_date ' : shows_modification_date ,
' shows_size ' : shows_size ,
' shows_version ' : shows_version ,
2003-03-28 19:38:00 -04:00
' sort_direction ' : sort_direction ,
' spatial_view_arrangement ' : spatial_view_arrangement ,
2000-08-20 16:29:03 -03:00
' uses_relative_dates ' : uses_relative_dates ,
2003-03-28 19:38:00 -04:00
' view ' : view ,
2000-08-20 16:29:03 -03:00
}
2002-08-07 12:53:42 -03:00
container_window . _privelemdict = {
2000-08-20 16:29:03 -03:00
}
2003-03-28 18:07:22 -04:00
content_space . _superclassnames = [ ]
content_space . _privpropdict = {
}
content_space . _privelemdict = {
}
2002-08-07 12:53:42 -03:00
information_window . _superclassnames = [ ' window ' ]
information_window . _privpropdict = {
2000-08-20 16:29:03 -03:00
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
' comment ' : comment ,
' creation_date ' : creation_date ,
2003-03-28 19:38:00 -04:00
' current_panel ' : current_panel ,
2000-08-20 16:29:03 -03:00
' icon ' : icon ,
2003-03-28 19:38:00 -04:00
' item ' : item ,
2000-08-20 16:29:03 -03:00
' locked ' : locked ,
2003-03-28 19:38:00 -04:00
' minimum_size ' : minimum_size ,
' modification_date ' : modification_date ,
' physical_size ' : physical_size ,
' preferred_size ' : preferred_size ,
2000-08-20 16:29:03 -03:00
' product_version ' : product_version ,
2003-03-28 19:38:00 -04:00
' size ' : size ,
' stationery ' : stationery ,
' suggested_size ' : suggested_size ,
2000-08-20 16:29:03 -03:00
' version ' : version ,
2003-03-28 19:38:00 -04:00
' warns_before_emptying ' : warns_before_emptying ,
2000-08-20 16:29:03 -03:00
}
2002-08-07 12:53:42 -03:00
information_window . _privelemdict = {
2000-08-20 16:29:03 -03:00
}
2002-08-07 12:53:42 -03:00
preferences_window . _superclassnames = [ ' window ' ]
preferences_window . _privpropdict = {
2000-08-20 16:29:03 -03:00
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
' current_panel ' : current_panel ,
}
2002-08-07 12:53:42 -03:00
preferences_window . _privelemdict = {
2000-08-20 16:29:03 -03:00
}
2003-03-28 18:07:22 -04:00
view_options_window . _superclassnames = [ ' window ' ]
view_options_window . _privpropdict = {
2000-08-20 16:29:03 -03:00
' _3c_Inheritance_3e_ ' : _3c_Inheritance_3e_ ,
2003-03-28 18:07:22 -04:00
' item ' : item ,
2000-08-20 16:29:03 -03:00
}
2003-03-28 18:07:22 -04:00
view_options_window . _privelemdict = {
2000-08-20 16:29:03 -03:00
}
2003-03-28 18:07:22 -04:00
window . _superclassnames = [ ]
window . _privpropdict = {
' bounds ' : bounds ,
' closeable ' : closeable ,
2003-03-28 19:38:00 -04:00
' collapsed ' : collapsed ,
2003-03-28 18:07:22 -04:00
' floating ' : floating ,
2003-03-28 19:38:00 -04:00
' index ' : index ,
2003-03-28 18:07:22 -04:00
' modal ' : modal ,
2003-03-28 19:38:00 -04:00
' name ' : name ,
' popup ' : popup ,
' position ' : position ,
' pulled_open ' : pulled_open ,
2003-03-28 18:07:22 -04:00
' resizable ' : resizable ,
2003-03-28 19:38:00 -04:00
' titled ' : titled ,
' visible ' : visible ,
2003-03-28 18:07:22 -04:00
' zoomable ' : zoomable ,
' zoomed ' : zoomed ,
' zoomed_full_size ' : zoomed_full_size ,
2000-08-20 16:29:03 -03:00
}
2003-03-28 18:07:22 -04:00
window . _privelemdict = {
2000-08-20 16:29:03 -03:00
}
#
# Indices of types declared in this module
#
_classdeclarations = {
2002-04-23 18:08:54 -03:00
' cwin ' : window ,
' cwnd ' : container_window ,
2000-08-20 16:29:03 -03:00
' dwnd ' : content_space ,
' iwnd ' : information_window ,
2003-03-28 19:38:00 -04:00
' lwnd ' : clipping_window ,
' pwnd ' : preferences_window ,
' vwnd ' : view_options_window ,
2000-08-20 16:29:03 -03:00
}
_propdeclarations = {
2003-03-28 18:07:22 -04:00
' appt ' : preferred_size ,
2003-03-28 19:38:00 -04:00
' ascd ' : creation_date ,
' aslk ' : locked ,
' asmo ' : modification_date ,
' barr ' : button_view_arrangement ,
2002-04-23 18:08:54 -03:00
' c@#^ ' : _3c_Inheritance_3e_ ,
2003-03-28 19:38:00 -04:00
' cobj ' : item ,
' comt ' : comment ,
' ctnr ' : container ,
2003-03-28 18:07:22 -04:00
' cuss ' : has_custom_view_settings ,
2003-03-28 19:38:00 -04:00
' drwr ' : popup ,
' hclb ' : closeable ,
' iarr ' : spatial_view_arrangement ,
2000-08-20 16:29:03 -03:00
' iimg ' : icon ,
2003-03-28 19:38:00 -04:00
' isfl ' : floating ,
' iszm ' : zoomable ,
2002-04-23 18:08:54 -03:00
' mprt ' : minimum_size ,
2003-03-28 19:38:00 -04:00
' panl ' : current_panel ,
' pbnd ' : bounds ,
' phys ' : physical_size ,
' pidx ' : index ,
' pmod ' : modal ,
2002-04-23 18:08:54 -03:00
' pnam ' : name ,
' posn ' : position ,
2003-03-28 19:38:00 -04:00
' prsz ' : resizable ,
' pspd ' : stationery ,
' ptit ' : titled ,
2002-04-23 18:08:54 -03:00
' ptsz ' : size ,
2003-03-28 19:38:00 -04:00
' pull ' : pulled_open ,
' pvew ' : view ,
2002-04-23 18:08:54 -03:00
' pvis ' : visible ,
2003-03-28 19:38:00 -04:00
' pzum ' : zoomed ,
' scda ' : shows_creation_date ,
' scom ' : shows_comments ,
2002-04-23 18:08:54 -03:00
' sdat ' : shows_modification_date ,
2003-03-28 18:07:22 -04:00
' sfsz ' : calculates_folder_sizes ,
2003-03-28 19:38:00 -04:00
' 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 ,
2000-08-20 16:29:03 -03:00
}
_compdeclarations = {
}
_enumdeclarations = {
}