Home | History | Annotate | Download | only in Finder
      1 """Suite Window classes: Classes representing windows
      2 Level 1, version 1
      3 
      4 Generated from /System/Library/CoreServices/Finder.app
      5 AETE/AEUT resource version 0/144, language 0, script 0
      6 """
      7 
      8 import aetools
      9 import MacOS
     10 
     11 _code = 'fndr'
     12 
     13 class Window_classes_Events:
     14 
     15     pass
     16 
     17 
     18 class Finder_window(aetools.ComponentItem):
     19     """Finder window - A file viewer window """
     20     want = 'brow'
     21 class _Prop__3c_Inheritance_3e_(aetools.NProperty):
     22     """<Inheritance> - inherits some of its properties from the window class """
     23     which = 'c@#^'
     24     want = 'cwin'
     25 class _Prop_current_view(aetools.NProperty):
     26     """current view - the current view for the container window """
     27     which = 'pvew'
     28     want = 'ecvw'
     29 class _Prop_icon_view_options(aetools.NProperty):
     30     """icon view options - the icon view options for the container window """
     31     which = 'icop'
     32     want = 'icop'
     33 class _Prop_list_view_options(aetools.NProperty):
     34     """list view options - the list view options for the container window """
     35     which = 'lvop'
     36     want = 'lvop'
     37 class _Prop_target(aetools.NProperty):
     38     """target - the container at which this file viewer is targeted """
     39     which = 'fvtg'
     40     want = 'obj '
     41 
     42 Finder_windows = Finder_window
     43 
     44 class window(aetools.ComponentItem):
     45     """window - A window """
     46     want = 'cwin'
     47 class _Prop_bounds(aetools.NProperty):
     48     """bounds - the boundary rectangle for the window """
     49     which = 'pbnd'
     50     want = 'qdrt'
     51 class _Prop_closeable(aetools.NProperty):
     52     """closeable - Does the window have a close box? """
     53     which = 'hclb'
     54     want = 'bool'
     55 class _Prop_collapsed(aetools.NProperty):
     56     """collapsed - Is the window collapsed """
     57     which = 'wshd'
     58     want = 'bool'
     59 class _Prop_floating(aetools.NProperty):
     60     """floating - Does the window have a title bar? """
     61     which = 'isfl'
     62     want = 'bool'
     63 class _Prop_id(aetools.NProperty):
     64     """id - the unique id for this window """
     65     which = 'ID  '
     66     want = 'magn'
     67 class _Prop_index(aetools.NProperty):
     68     """index - the number of the window in the front-to-back layer ordering """
     69     which = 'pidx'
     70     want = 'long'
     71 class _Prop_modal(aetools.NProperty):
     72     """modal - Is the window modal? """
     73     which = 'pmod'
     74     want = 'bool'
     75 class _Prop_name(aetools.NProperty):
     76     """name - the name of the window """
     77     which = 'pnam'
     78     want = 'utxt'
     79 class _Prop_position(aetools.NProperty):
     80     """position - the upper left position of the window """
     81     which = 'posn'
     82     want = 'QDpt'
     83 class _Prop_properties(aetools.NProperty):
     84     """properties - every property of a window """
     85     which = 'pALL'
     86     want = 'reco'
     87 class _Prop_resizable(aetools.NProperty):
     88     """resizable - Is the window resizable? """
     89     which = 'prsz'
     90     want = 'bool'
     91 class _Prop_titled(aetools.NProperty):
     92     """titled - Does the window have a title bar? """
     93     which = 'ptit'
     94     want = 'bool'
     95 class _Prop_visible(aetools.NProperty):
     96     """visible - Is the window visible (always true for open Finder windows)? """
     97     which = 'pvis'
     98     want = 'bool'
     99 class _Prop_zoomable(aetools.NProperty):
    100     """zoomable - Is the window zoomable? """
    101     which = 'iszm'
    102     want = 'bool'
    103 class _Prop_zoomed(aetools.NProperty):
    104     """zoomed - Is the window zoomed? """
    105     which = 'pzum'
    106     want = 'bool'
    107 class _Prop_zoomed_full_size(aetools.NProperty):
    108     """zoomed full size - Is the window zoomed to the full size of the screen? (can only be set, not read) """
    109     which = 'zumf'
    110     want = 'bool'
    111 
    112 windows = window
    113 
    114 class information_window(aetools.ComponentItem):
    115     """information window - An inspector window (opened by \xd2Show Info\xd3) """
    116     want = 'iwnd'
    117 class _Prop_current_panel(aetools.NProperty):
    118     """current panel - the current panel in the information window """
    119     which = 'panl'
    120     want = 'ipnl'
    121 class _Prop_item(aetools.NProperty):
    122     """item - the item from which this window was opened """
    123     which = 'cobj'
    124     want = 'obj '
    125 
    126 class clipping_window(aetools.ComponentItem):
    127     """clipping window - The window containing a clipping """
    128     want = 'lwnd'
    129 
    130 clipping_windows = clipping_window
    131 
    132 class preferences_window(aetools.ComponentItem):
    133     """preferences window - (NOT AVAILABLE YET) The Finder Preferences window """
    134     want = 'pwnd'
    135 Finder_window._superclassnames = ['window']
    136 Finder_window._privpropdict = {
    137     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
    138     'current_view' : _Prop_current_view,
    139     'icon_view_options' : _Prop_icon_view_options,
    140     'list_view_options' : _Prop_list_view_options,
    141     'target' : _Prop_target,
    142 }
    143 Finder_window._privelemdict = {
    144 }
    145 window._superclassnames = []
    146 window._privpropdict = {
    147     'bounds' : _Prop_bounds,
    148     'closeable' : _Prop_closeable,
    149     'collapsed' : _Prop_collapsed,
    150     'floating' : _Prop_floating,
    151     'id' : _Prop_id,
    152     'index' : _Prop_index,
    153     'modal' : _Prop_modal,
    154     'name' : _Prop_name,
    155     'position' : _Prop_position,
    156     'properties' : _Prop_properties,
    157     'resizable' : _Prop_resizable,
    158     'titled' : _Prop_titled,
    159     'visible' : _Prop_visible,
    160     'zoomable' : _Prop_zoomable,
    161     'zoomed' : _Prop_zoomed,
    162     'zoomed_full_size' : _Prop_zoomed_full_size,
    163 }
    164 window._privelemdict = {
    165 }
    166 information_window._superclassnames = ['window']
    167 information_window._privpropdict = {
    168     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
    169     'current_panel' : _Prop_current_panel,
    170     'item' : _Prop_item,
    171 }
    172 information_window._privelemdict = {
    173 }
    174 clipping_window._superclassnames = ['window']
    175 clipping_window._privpropdict = {
    176     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
    177 }
    178 clipping_window._privelemdict = {
    179 }
    180 preferences_window._superclassnames = ['window']
    181 preferences_window._privpropdict = {
    182     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
    183     'current_panel' : _Prop_current_panel,
    184 }
    185 preferences_window._privelemdict = {
    186 }
    187 
    188 #
    189 # Indices of types declared in this module
    190 #
    191 _classdeclarations = {
    192     'brow' : Finder_window,
    193     'cwin' : window,
    194     'iwnd' : information_window,
    195     'lwnd' : clipping_window,
    196     'pwnd' : preferences_window,
    197 }
    198 
    199 _propdeclarations = {
    200     'ID  ' : _Prop_id,
    201     'c@#^' : _Prop__3c_Inheritance_3e_,
    202     'cobj' : _Prop_item,
    203     'fvtg' : _Prop_target,
    204     'hclb' : _Prop_closeable,
    205     'icop' : _Prop_icon_view_options,
    206     'isfl' : _Prop_floating,
    207     'iszm' : _Prop_zoomable,
    208     'lvop' : _Prop_list_view_options,
    209     'pALL' : _Prop_properties,
    210     'panl' : _Prop_current_panel,
    211     'pbnd' : _Prop_bounds,
    212     'pidx' : _Prop_index,
    213     'pmod' : _Prop_modal,
    214     'pnam' : _Prop_name,
    215     'posn' : _Prop_position,
    216     'prsz' : _Prop_resizable,
    217     'ptit' : _Prop_titled,
    218     'pvew' : _Prop_current_view,
    219     'pvis' : _Prop_visible,
    220     'pzum' : _Prop_zoomed,
    221     'wshd' : _Prop_collapsed,
    222     'zumf' : _Prop_zoomed_full_size,
    223 }
    224 
    225 _compdeclarations = {
    226 }
    227 
    228 _enumdeclarations = {
    229 }
    230