![]() |
[Tkinter] How can I make buttons appear depending on the current index of a Combobox? - 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] How can I make buttons appear depending on the current index of a Combobox? (/thread-20116.html) |
How can I make buttons appear depending on the current index of a Combobox? - SteampunkMaverick12 - Jul-28-2019 I have a ttk Combobox with values=('A','B','C','D')how can i make buttons and other widgets appear and disappear based on the current option of the Combobox RE: How can I make buttons appear depending on the current index of a Combobox? - woooee - Jul-28-2019 Use the grid or pack geometry manager and the forget option. RE: How can I make buttons appear depending on the current index of a Combobox? - SteampunkMaverick12 - Jul-30-2019 (Jul-28-2019, 06:27 PM)woooee Wrote: Use the grid or pack geometry manager and the forget option. How would I do that with Combobox.current(0)so i write something along the lines of if combobox1.current(0): Label(text='HELLO').place(x=50,y=100,anchor=NW) |