summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/lib-scriptpackages/Netscape
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-04-01 22:05:14 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-04-01 22:05:14 (GMT)
commit842273bcd7ad6814a0ce7c1b097cea98615900c4 (patch)
treee9a3f679dbc382d2fe0bf8cd2b3d5a1929dda961 /Lib/plat-mac/lib-scriptpackages/Netscape
parentbc956056d401f0137e687f878a487fa2a16199df (diff)
downloadcpython-842273bcd7ad6814a0ce7c1b097cea98615900c4.zip
cpython-842273bcd7ad6814a0ce7c1b097cea98615900c4.tar.gz
cpython-842273bcd7ad6814a0ce7c1b097cea98615900c4.tar.bz2
Regenerated with property names with _Prop_ prepended.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Netscape')
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Netscape/Mozilla_suite.py12
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Netscape/PowerPlant.py10
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Netscape/Required_suite.py9
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py94
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Netscape/Standard_URL_suite.py9
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Netscape/Text.py64
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Netscape/WorldWideWeb_suite.py9
-rw-r--r--Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py8
8 files changed, 60 insertions, 155 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/Mozilla_suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Mozilla_suite.py
index c179154..8d3de6c 100644
--- a/Lib/plat-mac/lib-scriptpackages/Netscape/Mozilla_suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/Netscape/Mozilla_suite.py
@@ -255,15 +255,3 @@ _Enum_ncmd = {
#
_classdeclarations = {
}
-
-_propdeclarations = {
-}
-
-_compdeclarations = {
-}
-
-_enumdeclarations = {
- 'comp' : _Enum_comp,
- 'dire' : _Enum_dire,
- 'ncmd' : _Enum_ncmd,
-}
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/PowerPlant.py b/Lib/plat-mac/lib-scriptpackages/Netscape/PowerPlant.py
index d69b987..515715a 100644
--- a/Lib/plat-mac/lib-scriptpackages/Netscape/PowerPlant.py
+++ b/Lib/plat-mac/lib-scriptpackages/Netscape/PowerPlant.py
@@ -74,13 +74,3 @@ _Enum_dbac = {
#
_classdeclarations = {
}
-
-_propdeclarations = {
-}
-
-_compdeclarations = {
-}
-
-_enumdeclarations = {
- 'dbac' : _Enum_dbac,
-}
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/Required_suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Required_suite.py
index 553b538..8ae504e 100644
--- a/Lib/plat-mac/lib-scriptpackages/Netscape/Required_suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/Netscape/Required_suite.py
@@ -97,12 +97,3 @@ class Required_suite_Events(Required_Suite_Events):
#
_classdeclarations = {
}
-
-_propdeclarations = {
-}
-
-_compdeclarations = {
-}
-
-_enumdeclarations = {
-}
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py
index 5e62104..96305a3 100644
--- a/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_Suite.py
@@ -104,11 +104,11 @@ class Standard_Suite_Events(Standard_Suite_Events):
class application(aetools.ComponentItem):
"""application - An application program """
want = 'capp'
-class alert_application(aetools.NProperty):
+class _Prop_alert_application(aetools.NProperty):
"""alert application - Most of the alerts will be sent to this application using yet unspecified AE interface. We need a few alert boxes: alert, confirm and notify. Any ideas on how to design this event? mailto:atotic@netscape.com. I\xd5d like to conform to the standard. """
which = 'ALAP'
want = 'type'
-class kiosk_mode(aetools.NProperty):
+class _Prop_kiosk_mode(aetools.NProperty):
"""kiosk mode - Kiosk mode leaves very few menus enabled """
which = 'KOSK'
want = 'long'
@@ -117,91 +117,91 @@ class kiosk_mode(aetools.NProperty):
class window(aetools.ComponentItem):
"""window - A Window """
want = 'cwin'
-class URL(aetools.NProperty):
+class _Prop_URL(aetools.NProperty):
"""URL - Current URL """
which = 'curl'
want = 'TEXT'
-class bounds(aetools.NProperty):
+class _Prop_bounds(aetools.NProperty):
"""bounds - the boundary rectangle for the window """
which = 'pbnd'
want = 'qdrt'
-class busy(aetools.NProperty):
+class _Prop_busy(aetools.NProperty):
"""busy - Is window loading something right now. 2, window is busy and will reject load requests. 1, window is busy, but will interrupt outstanding loads """
which = 'busy'
want = 'long'
-class closeable(aetools.NProperty):
+class _Prop_closeable(aetools.NProperty):
"""closeable - Does the window have a close box? """
which = 'hclb'
want = 'bool'
-class floating(aetools.NProperty):
+class _Prop_floating(aetools.NProperty):
"""floating - Does the window float? """
which = 'isfl'
want = 'bool'
-class index(aetools.NProperty):
+class _Prop_index(aetools.NProperty):
"""index - the number of the window """
which = 'pidx'
want = 'long'
-class modal(aetools.NProperty):
+class _Prop_modal(aetools.NProperty):
"""modal - Is the window modal? """
which = 'pmod'
want = 'bool'
-class name(aetools.NProperty):
+class _Prop_name(aetools.NProperty):
"""name - the title of the window """
which = 'pnam'
want = 'itxt'
-class position(aetools.NProperty):
+class _Prop_position(aetools.NProperty):
"""position - upper left coordinates of window """
which = 'ppos'
want = 'QDpt'
-class resizable(aetools.NProperty):
+class _Prop_resizable(aetools.NProperty):
"""resizable - Is the window resizable? """
which = 'prsz'
want = 'bool'
-class titled(aetools.NProperty):
+class _Prop_titled(aetools.NProperty):
"""titled - Does the window have a title bar? """
which = 'ptit'
want = 'bool'
-class unique_ID(aetools.NProperty):
+class _Prop_unique_ID(aetools.NProperty):
"""unique ID - Window\xd5s unique ID (a bridge between WWW! suite window id\xd5s and standard AE windows) """
which = 'wiid'
want = 'long'
-class visible(aetools.NProperty):
+class _Prop_visible(aetools.NProperty):
"""visible - is the window visible? """
which = 'pvis'
want = 'bool'
-class zoomable(aetools.NProperty):
+class _Prop_zoomable(aetools.NProperty):
"""zoomable - Is the window zoomable? """
which = 'iszm'
want = 'bool'
-class zoomed(aetools.NProperty):
+class _Prop_zoomed(aetools.NProperty):
"""zoomed - Is the window zoomed? """
which = 'pzum'
want = 'bool'
application._superclassnames = []
application._privpropdict = {
- 'alert_application' : alert_application,
- 'kiosk_mode' : kiosk_mode,
+ 'alert_application' : _Prop_alert_application,
+ 'kiosk_mode' : _Prop_kiosk_mode,
}
application._privelemdict = {
'window' : window,
}
window._superclassnames = []
window._privpropdict = {
- 'URL' : URL,
- 'bounds' : bounds,
- 'busy' : busy,
- 'closeable' : closeable,
- 'floating' : floating,
- 'index' : index,
- 'modal' : modal,
- 'name' : name,
- 'position' : position,
- 'resizable' : resizable,
- 'titled' : titled,
- 'unique_ID' : unique_ID,
- 'visible' : visible,
- 'zoomable' : zoomable,
- 'zoomed' : zoomed,
+ 'URL' : _Prop_URL,
+ 'bounds' : _Prop_bounds,
+ 'busy' : _Prop_busy,
+ 'closeable' : _Prop_closeable,
+ 'floating' : _Prop_floating,
+ 'index' : _Prop_index,
+ 'modal' : _Prop_modal,
+ 'name' : _Prop_name,
+ 'position' : _Prop_position,
+ 'resizable' : _Prop_resizable,
+ 'titled' : _Prop_titled,
+ 'unique_ID' : _Prop_unique_ID,
+ 'visible' : _Prop_visible,
+ 'zoomable' : _Prop_zoomable,
+ 'zoomed' : _Prop_zoomed,
}
window._privelemdict = {
}
@@ -213,29 +213,3 @@ _classdeclarations = {
'capp' : application,
'cwin' : window,
}
-
-_propdeclarations = {
- 'ALAP' : alert_application,
- 'KOSK' : kiosk_mode,
- 'busy' : busy,
- 'curl' : URL,
- 'hclb' : closeable,
- 'isfl' : floating,
- 'iszm' : zoomable,
- 'pbnd' : bounds,
- 'pidx' : index,
- 'pmod' : modal,
- 'pnam' : name,
- 'ppos' : position,
- 'prsz' : resizable,
- 'ptit' : titled,
- 'pvis' : visible,
- 'pzum' : zoomed,
- 'wiid' : unique_ID,
-}
-
-_compdeclarations = {
-}
-
-_enumdeclarations = {
-}
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_URL_suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_URL_suite.py
index ab29665..aca22b4 100644
--- a/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_URL_suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/Netscape/Standard_URL_suite.py
@@ -49,12 +49,3 @@ class Standard_URL_suite_Events:
#
_classdeclarations = {
}
-
-_propdeclarations = {
-}
-
-_compdeclarations = {
-}
-
-_enumdeclarations = {
-}
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py
index 25fbd03..487c8db 100644
--- a/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py
+++ b/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py
@@ -19,23 +19,23 @@ class Text_Events(Text_Suite_Events):
class text(aetools.ComponentItem):
"""text - independent text view objects """
want = 'ctxt'
-class beginning(aetools.NProperty):
+class _Prop_beginning(aetools.NProperty):
"""beginning - Beginning of element """
which = 'bgng'
want = 'obj '
-class end(aetools.NProperty):
+class _Prop_end(aetools.NProperty):
"""end - Ending of element """
which = 'end '
want = 'obj '
-class infront(aetools.NProperty):
+class _Prop_infront(aetools.NProperty):
"""infront - Immediately before element """
which = 'pBef'
want = 'obj '
-class justbehind(aetools.NProperty):
+class _Prop_justbehind(aetools.NProperty):
"""justbehind - Immediately after element """
which = 'pAft'
want = 'obj '
-class updateLevel(aetools.NProperty):
+class _Prop_updateLevel(aetools.NProperty):
"""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. """
which = 'pUpL'
want = 'long'
@@ -44,27 +44,27 @@ class updateLevel(aetools.NProperty):
class styleset(aetools.ComponentItem):
"""styleset - A style \xd2set\xd3 that may be used repeatedly in text objects. """
want = 'stys'
-class color(aetools.NProperty):
+class _Prop_color(aetools.NProperty):
"""color - the color """
which = 'colr'
want = 'RGB '
-class font(aetools.NProperty):
+class _Prop_font(aetools.NProperty):
"""font - font name """
which = 'font'
want = 'TEXT'
-class name(aetools.NProperty):
+class _Prop_name(aetools.NProperty):
"""name - style name """
which = 'pnam'
want = 'TEXT'
-class size(aetools.NProperty):
+class _Prop_size(aetools.NProperty):
"""size - the size in points """
which = 'ptsz'
want = 'long'
-class style(aetools.NProperty):
+class _Prop_style(aetools.NProperty):
"""style - the text styles or face attributes """
which = 'txst'
want = 'tsty'
-class writing_code(aetools.NProperty):
+class _Prop_writing_code(aetools.NProperty):
"""writing code - the script system and language """
which = 'psct'
want = 'tsty'
@@ -72,23 +72,23 @@ class writing_code(aetools.NProperty):
stylesets = styleset
text._superclassnames = []
text._privpropdict = {
- 'beginning' : beginning,
- 'end' : end,
- 'infront' : infront,
- 'justbehind' : justbehind,
- 'updateLevel' : updateLevel,
+ 'beginning' : _Prop_beginning,
+ 'end' : _Prop_end,
+ 'infront' : _Prop_infront,
+ 'justbehind' : _Prop_justbehind,
+ 'updateLevel' : _Prop_updateLevel,
}
text._privelemdict = {
'styleset' : styleset,
}
styleset._superclassnames = []
styleset._privpropdict = {
- 'color' : color,
- 'font' : font,
- 'name' : name,
- 'size' : size,
- 'style' : style,
- 'writing_code' : writing_code,
+ 'color' : _Prop_color,
+ 'font' : _Prop_font,
+ 'name' : _Prop_name,
+ 'size' : _Prop_size,
+ 'style' : _Prop_style,
+ 'writing_code' : _Prop_writing_code,
}
styleset._privelemdict = {
}
@@ -100,23 +100,3 @@ _classdeclarations = {
'ctxt' : text,
'stys' : styleset,
}
-
-_propdeclarations = {
- 'bgng' : beginning,
- 'colr' : color,
- 'end ' : end,
- 'font' : font,
- 'pAft' : justbehind,
- 'pBef' : infront,
- 'pUpL' : updateLevel,
- 'pnam' : name,
- 'psct' : writing_code,
- 'ptsz' : size,
- 'txst' : style,
-}
-
-_compdeclarations = {
-}
-
-_enumdeclarations = {
-}
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/WorldWideWeb_suite.py b/Lib/plat-mac/lib-scriptpackages/Netscape/WorldWideWeb_suite.py
index 5b70464..9f032c3 100644
--- a/Lib/plat-mac/lib-scriptpackages/Netscape/WorldWideWeb_suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/Netscape/WorldWideWeb_suite.py
@@ -415,12 +415,3 @@ class WorldWideWeb_suite_Events:
#
_classdeclarations = {
}
-
-_propdeclarations = {
-}
-
-_compdeclarations = {
-}
-
-_enumdeclarations = {
-}
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py b/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py
index 514a390..8a82216 100644
--- a/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py
+++ b/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py
@@ -61,8 +61,6 @@ import StdSuites
#
getbaseclasses(window)
getbaseclasses(application)
-getbaseclasses(text)
-getbaseclasses(styleset)
getbaseclasses(StdSuites.Text_Suite.text_flow)
getbaseclasses(StdSuites.Text_Suite.character)
getbaseclasses(StdSuites.Text_Suite.text_style_info)
@@ -70,6 +68,8 @@ getbaseclasses(StdSuites.Text_Suite.line)
getbaseclasses(StdSuites.Text_Suite.word)
getbaseclasses(StdSuites.Text_Suite.paragraph)
getbaseclasses(StdSuites.Text_Suite.text)
+getbaseclasses(text)
+getbaseclasses(styleset)
#
# Indices of types declared in this module
@@ -77,8 +77,6 @@ getbaseclasses(StdSuites.Text_Suite.text)
_classdeclarations = {
'cwin' : window,
'capp' : application,
- 'ctxt' : text,
- 'stys' : styleset,
'cflo' : StdSuites.Text_Suite.text_flow,
'cha ' : StdSuites.Text_Suite.character,
'tsty' : StdSuites.Text_Suite.text_style_info,
@@ -86,6 +84,8 @@ _classdeclarations = {
'cwor' : StdSuites.Text_Suite.word,
'cpar' : StdSuites.Text_Suite.paragraph,
'ctxt' : StdSuites.Text_Suite.text,
+ 'ctxt' : text,
+ 'stys' : styleset,
}