Python Forum
[Tkinter] combobox and button - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: [Tkinter] combobox and button (/thread-26361.html)



combobox and button - Agusben - Apr-29-2020

Is there a way to make a button appear after a specific value is selected from a Combobox?
I want to make a program that creats differents amounts of buttons and labels depending on the value that was selected from the Combobox.


RE: combobox and button - Larz60+ - Apr-29-2020

You can start with example combobox code here: https://www.delftstack.com/tutorial/tkinter-tutorial/tkinter-combobox/
then under the event binding code, modify the callbackFunc function to produce your buttons