summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-10-11 17:40:37 (GMT)
committerGuido van Rossum <guido@python.org>1995-10-11 17:40:37 (GMT)
commitb61b28b07d573cc144ab96d0e23d80f71cc9b3d9 (patch)
tree40b63d7c725741ac112f556f877b93e746e2a090
parenta61bdeb8a99585d51052e1e6f02d9883542daa59 (diff)
downloadcpython-b61b28b07d573cc144ab96d0e23d80f71cc9b3d9.zip
cpython-b61b28b07d573cc144ab96d0e23d80f71cc9b3d9.tar.gz
cpython-b61b28b07d573cc144ab96d0e23d80f71cc9b3d9.tar.bz2
added listbox selection modes
-rw-r--r--Lib/lib-tk/Tkconstants.py6
-rwxr-xr-xLib/tkinter/Tkconstants.py6
2 files changed, 12 insertions, 0 deletions
diff --git a/Lib/lib-tk/Tkconstants.py b/Lib/lib-tk/Tkconstants.py
index 9612da9..dd4fb0e 100644
--- a/Lib/lib-tk/Tkconstants.py
+++ b/Lib/lib-tk/Tkconstants.py
@@ -68,3 +68,9 @@ CHECKBUTTON='checkbutton'
COMMAND='command'
RADIOBUTTON='radiobutton'
SEPARATOR='separator'
+
+# Selection modes for list boxes
+SINGLE='single'
+BROWSE='browse'
+MULTIPLE='multiple'
+EXTENDED='extended'
diff --git a/Lib/tkinter/Tkconstants.py b/Lib/tkinter/Tkconstants.py
index 9612da9..dd4fb0e 100755
--- a/Lib/tkinter/Tkconstants.py
+++ b/Lib/tkinter/Tkconstants.py
@@ -68,3 +68,9 @@ CHECKBUTTON='checkbutton'
COMMAND='command'
RADIOBUTTON='radiobutton'
SEPARATOR='separator'
+
+# Selection modes for list boxes
+SINGLE='single'
+BROWSE='browse'
+MULTIPLE='multiple'
+EXTENDED='extended'