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