PageRenderTime 22ms CodeModel.GetById 8ms app.highlight 11ms RepoModel.GetById 1ms app.codeStats 0ms

/Lib/plat-mac/lib-scriptpackages/Finder/Window_classes.py

http://unladen-swallow.googlecode.com/
Python | 229 lines | 175 code | 17 blank | 37 comment | 0 complexity | 574ae63cf6b5e374eeca262ecda50cf3 MD5 | raw file
  1"""Suite Window classes: Classes representing windows
  2Level 1, version 1
  3
  4Generated from /System/Library/CoreServices/Finder.app
  5AETE/AEUT resource version 0/144, language 0, script 0
  6"""
  7
  8import aetools
  9import MacOS
 10
 11_code = 'fndr'
 12
 13class Window_classes_Events:
 14
 15    pass
 16
 17
 18class Finder_window(aetools.ComponentItem):
 19    """Finder window - A file viewer window """
 20    want = 'brow'
 21class _Prop__3c_Inheritance_3e_(aetools.NProperty):
 22    """<Inheritance> - inherits some of its properties from the window class """
 23    which = 'c@#^'
 24    want = 'cwin'
 25class _Prop_current_view(aetools.NProperty):
 26    """current view - the current view for the container window """
 27    which = 'pvew'
 28    want = 'ecvw'
 29class _Prop_icon_view_options(aetools.NProperty):
 30    """icon view options - the icon view options for the container window """
 31    which = 'icop'
 32    want = 'icop'
 33class _Prop_list_view_options(aetools.NProperty):
 34    """list view options - the list view options for the container window """
 35    which = 'lvop'
 36    want = 'lvop'
 37class _Prop_target(aetools.NProperty):
 38    """target - the container at which this file viewer is targeted """
 39    which = 'fvtg'
 40    want = 'obj '
 41
 42Finder_windows = Finder_window
 43
 44class window(aetools.ComponentItem):
 45    """window - A window """
 46    want = 'cwin'
 47class _Prop_bounds(aetools.NProperty):
 48    """bounds - the boundary rectangle for the window """
 49    which = 'pbnd'
 50    want = 'qdrt'
 51class _Prop_closeable(aetools.NProperty):
 52    """closeable - Does the window have a close box? """
 53    which = 'hclb'
 54    want = 'bool'
 55class _Prop_collapsed(aetools.NProperty):
 56    """collapsed - Is the window collapsed """
 57    which = 'wshd'
 58    want = 'bool'
 59class _Prop_floating(aetools.NProperty):
 60    """floating - Does the window have a title bar? """
 61    which = 'isfl'
 62    want = 'bool'
 63class _Prop_id(aetools.NProperty):
 64    """id - the unique id for this window """
 65    which = 'ID  '
 66    want = 'magn'
 67class _Prop_index(aetools.NProperty):
 68    """index - the number of the window in the front-to-back layer ordering """
 69    which = 'pidx'
 70    want = 'long'
 71class _Prop_modal(aetools.NProperty):
 72    """modal - Is the window modal? """
 73    which = 'pmod'
 74    want = 'bool'
 75class _Prop_name(aetools.NProperty):
 76    """name - the name of the window """
 77    which = 'pnam'
 78    want = 'utxt'
 79class _Prop_position(aetools.NProperty):
 80    """position - the upper left position of the window """
 81    which = 'posn'
 82    want = 'QDpt'
 83class _Prop_properties(aetools.NProperty):
 84    """properties - every property of a window """
 85    which = 'pALL'
 86    want = 'reco'
 87class _Prop_resizable(aetools.NProperty):
 88    """resizable - Is the window resizable? """
 89    which = 'prsz'
 90    want = 'bool'
 91class _Prop_titled(aetools.NProperty):
 92    """titled - Does the window have a title bar? """
 93    which = 'ptit'
 94    want = 'bool'
 95class _Prop_visible(aetools.NProperty):
 96    """visible - Is the window visible (always true for open Finder windows)? """
 97    which = 'pvis'
 98    want = 'bool'
 99class _Prop_zoomable(aetools.NProperty):
100    """zoomable - Is the window zoomable? """
101    which = 'iszm'
102    want = 'bool'
103class _Prop_zoomed(aetools.NProperty):
104    """zoomed - Is the window zoomed? """
105    which = 'pzum'
106    want = 'bool'
107class _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
112windows = window
113
114class information_window(aetools.ComponentItem):
115    """information window - An inspector window (opened by \xd2Show Info\xd3) """
116    want = 'iwnd'
117class _Prop_current_panel(aetools.NProperty):
118    """current panel - the current panel in the information window """
119    which = 'panl'
120    want = 'ipnl'
121class _Prop_item(aetools.NProperty):
122    """item - the item from which this window was opened """
123    which = 'cobj'
124    want = 'obj '
125
126class clipping_window(aetools.ComponentItem):
127    """clipping window - The window containing a clipping """
128    want = 'lwnd'
129
130clipping_windows = clipping_window
131
132class preferences_window(aetools.ComponentItem):
133    """preferences window - (NOT AVAILABLE YET) The Finder Preferences window """
134    want = 'pwnd'
135Finder_window._superclassnames = ['window']
136Finder_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}
143Finder_window._privelemdict = {
144}
145window._superclassnames = []
146window._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}
164window._privelemdict = {
165}
166information_window._superclassnames = ['window']
167information_window._privpropdict = {
168    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
169    'current_panel' : _Prop_current_panel,
170    'item' : _Prop_item,
171}
172information_window._privelemdict = {
173}
174clipping_window._superclassnames = ['window']
175clipping_window._privpropdict = {
176    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
177}
178clipping_window._privelemdict = {
179}
180preferences_window._superclassnames = ['window']
181preferences_window._privpropdict = {
182    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
183    'current_panel' : _Prop_current_panel,
184}
185preferences_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}