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