I know that this is quite old but I am facing a similar issue. Does anyone know the answer? I am trying to create dependent dropdowns, for example something like this:
the drop_down is the main one and the other should change in relation on which choice you make on the main one.
This quote gives an error
the drop_down is the main one and the other should change in relation on which choice you make on the main one.
drop_down =['one', 'two'] dep_drop=['one_1', 'one_2', 'one_3'] dep2_drop['two_1','two_2','two_3']
(Oct-15-2018, 11:28 AM)Larz60+ Wrote: This is a guess as I haven't used tkinter in a while, try changing line 29 to:
tkvar.trace('w', lambda: change_dropdown)
This quote gives an error
Error:TypeError: <lambda>() takes 0 positional arguments but 3 were given