Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dropdown #tkinter
ADD COMMENT
Topic
Name
9+5 =