summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-08-04 03:51:48 (GMT)
committerGuido van Rossum <guido@python.org>1995-08-04 03:51:48 (GMT)
commita22a70aaffa5cb02ed9b95511b45f58b6defb075 (patch)
tree08c1c4e1cd108259f6986ee8f165314e2213974d
parent35f67fb5525d698cdff40b03ebf3ca274a06e754 (diff)
downloadcpython-a22a70aaffa5cb02ed9b95511b45f58b6defb075.zip
cpython-a22a70aaffa5cb02ed9b95511b45f58b6defb075.tar.gz
cpython-a22a70aaffa5cb02ed9b95511b45f58b6defb075.tar.bz2
added some missing constants
-rw-r--r--Lib/lib-tk/Tkinter.py18
-rwxr-xr-xLib/tkinter/Tkinter.py18
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: