From: Guido van Rossum Date: Wed, 11 Oct 1995 17:40:37 +0000 (+0000) Subject: added listbox selection modes X-Git-Tag: v1.3~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b61b28b07d573cc144ab96d0e23d80f71cc9b3d9;p=thirdparty%2FPython%2Fcpython.git added listbox selection modes --- diff --git a/Lib/lib-tk/Tkconstants.py b/Lib/lib-tk/Tkconstants.py index 9612da9db60f..dd4fb0ef321a 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 9612da9db60f..dd4fb0ef321a 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'