Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Tkinter] How can I make buttons appear depending on the current index of a Combobox?
#1
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
Quote
#2
Use the grid or pack geometry manager and the forget option.
Quote
#3
(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)
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  ComboBox example? JP_ROMANO 4 911 Jan-07-2019, 06:45 PM
Last Post: nilamo

Forum Jump:


Users browsing this thread: 1 Guest(s)