summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-10-01 13:49:37 (GMT)
committerBarry Warsaw <barry@python.org>1998-10-01 13:49:37 (GMT)
commit9190046289af6397d6482fb646878a074bf38c05 (patch)
tree0dce26ae956c4f62c0141210a5cfda4766fc185b
parent85e6965071d76ca8d58e6162d96918277e4c56fe (diff)
downloadcpython-9190046289af6397d6482fb646878a074bf38c05.zip
cpython-9190046289af6397d6482fb646878a074bf38c05.tar.gz
cpython-9190046289af6397d6482fb646878a074bf38c05.tar.bz2
Added NS and EW constants, which are meaningful values for grid's
-sticky option.
-rw-r--r--Lib/lib-tk/Tkconstants.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/lib-tk/Tkconstants.py b/Lib/lib-tk/Tkconstants.py
index da34a4d..ee74e3a 100644
--- a/Lib/lib-tk/Tkconstants.py
+++ b/Lib/lib-tk/Tkconstants.py
@@ -5,7 +5,7 @@
NO=FALSE=OFF=0
YES=TRUE=ON=1
-# -anchor
+# -anchor and -sticky
N='n'
S='s'
W='w'
@@ -14,6 +14,8 @@ NW='nw'
SW='sw'
NE='ne'
SE='se'
+NS='ns'
+EW='ew'
CENTER='center'
# -fill