diff options
author | Guido van Rossum <guido@python.org> | 1995-08-04 03:51:48 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-08-04 03:51:48 (GMT) |
commit | a22a70aaffa5cb02ed9b95511b45f58b6defb075 (patch) | |
tree | 08c1c4e1cd108259f6986ee8f165314e2213974d /Lib | |
parent | 35f67fb5525d698cdff40b03ebf3ca274a06e754 (diff) | |
download | cpython-a22a70aaffa5cb02ed9b95511b45f58b6defb075.zip cpython-a22a70aaffa5cb02ed9b95511b45f58b6defb075.tar.gz cpython-a22a70aaffa5cb02ed9b95511b45f58b6defb075.tar.bz2 |
added some missing constants
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 18 | ||||
-rwxr-xr-x | Lib/tkinter/Tkinter.py | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 237bf03..f97ee27 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -52,6 +52,24 @@ GROOVE='groove' HORIZONTAL='horizontal' VERTICAL='vertical' +# -tabs +NUMERIC='numeric' + +# -wrap +CHAR='char' +WORD='word' + +# -align +BASELINE='baseline' + +# Special tags, marks and insert positions +SEL='sel' +SEL_FIRST='sel.first' +SEL_LAST='sel.last' +END='end' +INSERT='insert' +CURRENT='current' + def _flatten(tuple): res = () for item in tuple: diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index 237bf03..f97ee27 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/Tkinter.py @@ -52,6 +52,24 @@ GROOVE='groove' HORIZONTAL='horizontal' VERTICAL='vertical' +# -tabs +NUMERIC='numeric' + +# -wrap +CHAR='char' +WORD='word' + +# -align +BASELINE='baseline' + +# Special tags, marks and insert positions +SEL='sel' +SEL_FIRST='sel.first' +SEL_LAST='sel.last' +END='end' +INSERT='insert' +CURRENT='current' + def _flatten(tuple): res = () for item in tuple: |