Answers for "How to do a slelect in tkinter"

3

dropdown in tkinter

from Tkinter import *

master = Tk()

variable = StringVar(master)
variable.set("one") # default value

w = OptionMenu(master, variable, "one", "two", "three")
w.pack()

mainloop()
Posted by: Guest on November-06-2020

Code answers related to "How to do a slelect in tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language