From a22a70aaffa5cb02ed9b95511b45f58b6defb075 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 4 Aug 1995 03:51:48 +0000 Subject: added some missing constants --- Lib/lib-tk/Tkinter.py | 18 ++++++++++++++++++ Lib/tkinter/Tkinter.py | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) 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: -- cgit v0.12