home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / plat-mac / lib-scriptpackages / Netscape / Text.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  4.4 KB  |  130 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4. '''Suite Text:
  5. Level 0, version 0
  6.  
  7. Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
  8. AETE/AEUT resource version 1/0, language 0, script 0
  9. '''
  10. import aetools
  11. import MacOS
  12. _code = 'TEXT'
  13. from StdSuites.Text_Suite import *
  14.  
  15. class Text_Events(Text_Suite_Events):
  16.     pass
  17.  
  18.  
  19. class text(aetools.ComponentItem):
  20.     '''text - independent text view objects '''
  21.     want = 'ctxt'
  22.  
  23.  
  24. class _Prop_beginning(aetools.NProperty):
  25.     '''beginning - Beginning of element '''
  26.     which = 'bgng'
  27.     want = 'obj '
  28.  
  29.  
  30. class _Prop_end(aetools.NProperty):
  31.     '''end - Ending of element '''
  32.     which = 'end '
  33.     want = 'obj '
  34.  
  35.  
  36. class _Prop_infront(aetools.NProperty):
  37.     '''infront - Immediately before element '''
  38.     which = 'pBef'
  39.     want = 'obj '
  40.  
  41.  
  42. class _Prop_justbehind(aetools.NProperty):
  43.     '''justbehind - Immediately after element '''
  44.     which = 'pAft'
  45.     want = 'obj '
  46.  
  47.  
  48. class _Prop_updateLevel(aetools.NProperty):
  49.     '''updateLevel - updating level.  Can only be incremented or decremented.  Do so only in a try block -- if the level is greater than zero, visual text updating will cease. '''
  50.     which = 'pUpL'
  51.     want = 'long'
  52.  
  53.  
  54. class styleset(aetools.ComponentItem):
  55.     '''styleset - A style \xd2set\xd3 that may be used repeatedly in text objects. '''
  56.     want = 'stys'
  57.  
  58.  
  59. class _Prop_color(aetools.NProperty):
  60.     '''color - the color '''
  61.     which = 'colr'
  62.     want = 'RGB '
  63.  
  64.  
  65. class _Prop_font(aetools.NProperty):
  66.     '''font - font name '''
  67.     which = 'font'
  68.     want = 'TEXT'
  69.  
  70.  
  71. class _Prop_name(aetools.NProperty):
  72.     '''name - style name '''
  73.     which = 'pnam'
  74.     want = 'TEXT'
  75.  
  76.  
  77. class _Prop_size(aetools.NProperty):
  78.     '''size - the size in points '''
  79.     which = 'ptsz'
  80.     want = 'long'
  81.  
  82.  
  83. class _Prop_style(aetools.NProperty):
  84.     '''style - the text styles or face attributes '''
  85.     which = 'txst'
  86.     want = 'tsty'
  87.  
  88.  
  89. class _Prop_writing_code(aetools.NProperty):
  90.     '''writing code - the script system and language '''
  91.     which = 'psct'
  92.     want = 'tsty'
  93.  
  94. stylesets = styleset
  95. text._superclassnames = []
  96. text._privpropdict = {
  97.     'beginning': _Prop_beginning,
  98.     'end': _Prop_end,
  99.     'infront': _Prop_infront,
  100.     'justbehind': _Prop_justbehind,
  101.     'updateLevel': _Prop_updateLevel }
  102. text._privelemdict = {
  103.     'styleset': styleset }
  104. styleset._superclassnames = []
  105. styleset._privpropdict = {
  106.     'color': _Prop_color,
  107.     'font': _Prop_font,
  108.     'name': _Prop_name,
  109.     'size': _Prop_size,
  110.     'style': _Prop_style,
  111.     'writing_code': _Prop_writing_code }
  112. styleset._privelemdict = { }
  113. _classdeclarations = {
  114.     'ctxt': text,
  115.     'stys': styleset }
  116. _propdeclarations = {
  117.     'bgng': _Prop_beginning,
  118.     'colr': _Prop_color,
  119.     'end ': _Prop_end,
  120.     'font': _Prop_font,
  121.     'pAft': _Prop_justbehind,
  122.     'pBef': _Prop_infront,
  123.     'pUpL': _Prop_updateLevel,
  124.     'pnam': _Prop_name,
  125.     'psct': _Prop_writing_code,
  126.     'ptsz': _Prop_size,
  127.     'txst': _Prop_style }
  128. _compdeclarations = { }
  129. _enumdeclarations = { }
  130.