[Tutor] Multiple muti-selection dropdown options

Peter Otten __peter__ at web.de
Fri Feb 24 14:02:30 EST 2017


Pooja Bhalode wrote:

> I am working on GUI where I have two dropdown menus in a Toplevel

Actually your code shows two Listbox wigets.

> However, the issue is that when the user selects options from the first
> dropdown menu and moves on to selecting the second one, the first dropdown
> selections are lost, is there a way to store the highlighted selections on
> the display screen?

With the help of a search engine I found out that you need to specify

listbox = Listbox(..., exportselection=False)



More information about the Tutor mailing list