summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/lib-scriptpackages/Terminal
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-06-13 14:31:19 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-06-13 14:31:19 (GMT)
commit8475d0256a9aafebe9685e5abcf8bcfc7f32f374 (patch)
tree04e80eea24742ddd5a66c2b18b7700f0f0f88f01 /Lib/plat-mac/lib-scriptpackages/Terminal
parentc8882b10c490298c670cec8ad6239acfaf14a66a (diff)
downloadcpython-8475d0256a9aafebe9685e5abcf8bcfc7f32f374.zip
cpython-8475d0256a9aafebe9685e5abcf8bcfc7f32f374.tar.gz
cpython-8475d0256a9aafebe9685e5abcf8bcfc7f32f374.tar.bz2
Re-gegernated with the new gensuitemodule.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Terminal')
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Terminal/Standard_Suite.py4
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.py2
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py10
3 files changed, 12 insertions, 4 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Terminal/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/Terminal/Standard_Suite.py
index 8796efc..673a31a 100644
--- a/Lib/plat-mac/lib-scriptpackages/Terminal/Standard_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/Terminal/Standard_Suite.py
@@ -337,18 +337,22 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
want = 'cobj'
+_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_frontmost(aetools.NProperty):
"""frontmost - Is this the frontmost (active) application? """
which = 'pisf'
want = 'bool'
+frontmost = _Prop_frontmost()
class _Prop_name(aetools.NProperty):
"""name - The name of the application. """
which = 'pnam'
want = 'utxt'
+name = _Prop_name()
class _Prop_version(aetools.NProperty):
"""version - The version of the application. """
which = 'vers'
want = 'utxt'
+version = _Prop_version()
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
diff --git a/Lib/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.py b/Lib/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.py
index 0a6e7d1..afa02b3 100644
--- a/Lib/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.py
@@ -68,10 +68,12 @@ class _Prop__3c_Inheritance_3e_(aetools.NProperty):
"""<Inheritance> - All of the properties of the superclass. """
which = 'c@#^'
want = 'capp'
+_3c_Inheritance_3e_ = _Prop__3c_Inheritance_3e_()
class _Prop_properties(aetools.NProperty):
"""properties - every property of the Terminal program """
which = 'pALL'
want = '****'
+properties = _Prop_properties()
# element 'cwin' as ['name', 'indx', 'rele', 'rang', 'test', 'ID ']
# element 'docu' as ['name', 'indx', 'rele', 'rang', 'test']
diff --git a/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py b/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py
index 8ed692d..47b75f2 100644
--- a/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py
+++ b/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py
@@ -48,14 +48,14 @@ getbaseclasses(window)
getbaseclasses(application)
getbaseclasses(item)
getbaseclasses(document)
+getbaseclasses(window)
+getbaseclasses(application)
getbaseclasses(character)
getbaseclasses(attachment)
getbaseclasses(paragraph)
getbaseclasses(word)
getbaseclasses(attribute_run)
getbaseclasses(text)
-getbaseclasses(window)
-getbaseclasses(application)
#
# Indices of types declared in this module
@@ -66,14 +66,14 @@ _classdeclarations = {
'capp' : application,
'cobj' : item,
'docu' : document,
+ 'cwin' : window,
+ 'capp' : application,
'cha ' : character,
'atts' : attachment,
'cpar' : paragraph,
'cwor' : word,
'catr' : attribute_run,
'ctxt' : text,
- 'cwin' : window,
- 'capp' : application,
}
@@ -85,3 +85,5 @@ class Terminal(Standard_Suite_Events,
_moduleName = 'Terminal'
+ _elemdict = application._elemdict
+ _propdict = application._propdict