dropdownchoice

Creating a choicelist dialog box with tkinter

Creating a choicelist dialog box with tkinter Question: I am trying to make using tkinter a function similar to buttonbox of easygui (http://easygui.sourceforge.net/tutorial.html#buttonbox) which I should be able to call from both console and gui applications: from tkinter import * def mychoicebox(choicelist): def buttonfn(): return var.get() choicewin = Tk() choicewin.resizable(False, False) choicewin.title(“ChoiceBox”) Label(choicewin, text=”Select an …

Total answers: 2