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'