diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-04-01 22:05:14 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-04-01 22:05:14 (GMT) |
commit | 842273bcd7ad6814a0ce7c1b097cea98615900c4 (patch) | |
tree | e9a3f679dbc382d2fe0bf8cd2b3d5a1929dda961 /Lib/plat-mac/lib-scriptpackages/Netscape/Text.py | |
parent | bc956056d401f0137e687f878a487fa2a16199df (diff) | |
download | cpython-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/Text.py')
-rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Netscape/Text.py | 64 |
1 files changed, 22 insertions, 42 deletions
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 = { -} |