From b61b28b07d573cc144ab96d0e23d80f71cc9b3d9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 11 Oct 1995 17:40:37 +0000 Subject: [PATCH] added listbox selection modes --- Lib/lib-tk/Tkconstants.py | 6 ++++++ Lib/tkinter/Tkconstants.py | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/Lib/lib-tk/Tkconstants.py b/Lib/lib-tk/Tkconstants.py index 9612da9db60..dd4fb0ef321 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 9612da9db60..dd4fb0ef321 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'