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 / Terminal / __init__.pyo (.txt) next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  2.2 KB  |  73 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4. '''
  5. Package generated from /Applications/Utilities/Terminal.app
  6. '''
  7. import aetools
  8. Error = aetools.Error
  9. import Standard_Suite
  10. import Text_Suite
  11. import Terminal_Suite
  12. _code_to_module = {
  13.     '????': Standard_Suite,
  14.     '????': Text_Suite,
  15.     'trmx': Terminal_Suite }
  16. _code_to_fullname = {
  17.     '????': ('Terminal.Standard_Suite', 'Standard_Suite'),
  18.     '????': ('Terminal.Text_Suite', 'Text_Suite'),
  19.     'trmx': ('Terminal.Terminal_Suite', 'Terminal_Suite') }
  20. from Standard_Suite import *
  21. from Text_Suite import *
  22. from Terminal_Suite import *
  23.  
  24. def getbaseclasses(v):
  25.     if not getattr(v, '_propdict', None):
  26.         v._propdict = { }
  27.         v._elemdict = { }
  28.         for superclassname in getattr(v, '_superclassnames', []):
  29.             superclass = eval(superclassname)
  30.             getbaseclasses(superclass)
  31.             v._propdict.update(getattr(superclass, '_propdict', { }))
  32.             v._elemdict.update(getattr(superclass, '_elemdict', { }))
  33.         
  34.         v._propdict.update(getattr(v, '_privpropdict', { }))
  35.         v._elemdict.update(getattr(v, '_privelemdict', { }))
  36.     
  37.  
  38. import StdSuites
  39. getbaseclasses(color)
  40. getbaseclasses(window)
  41. getbaseclasses(application)
  42. getbaseclasses(item)
  43. getbaseclasses(document)
  44. getbaseclasses(window)
  45. getbaseclasses(application)
  46. getbaseclasses(character)
  47. getbaseclasses(attachment)
  48. getbaseclasses(paragraph)
  49. getbaseclasses(word)
  50. getbaseclasses(attribute_run)
  51. getbaseclasses(text)
  52. _classdeclarations = {
  53.     'colr': color,
  54.     'cwin': window,
  55.     'capp': application,
  56.     'cobj': item,
  57.     'docu': document,
  58.     'cwin': window,
  59.     'capp': application,
  60.     'cha ': character,
  61.     'atts': attachment,
  62.     'cpar': paragraph,
  63.     'cwor': word,
  64.     'catr': attribute_run,
  65.     'ctxt': text }
  66.  
  67. class Terminal(Standard_Suite_Events, Text_Suite_Events, Terminal_Suite_Events, aetools.TalkTo):
  68.     _signature = 'trmx'
  69.     _moduleName = 'Terminal'
  70.     _elemdict = application._elemdict
  71.     _propdict = application._propdict
  72.  
  73.