PyDocs

Nav

Graphical user interfaces with Tk

SimpleDialog

  • SimpleDialog(master, text='', buttons=[], default=None, cancel=None, title=None, class_=None)
A simple modal dialog that displays the message text above a row of push buttons whose labels are given by buttons, and returns the index of the button the user presses. default is the index of the button activated by the Return key, cancel the index returned when the window is closed through the window manager, title the window title, and class_ the Tk class name of the window.
Members of SimpleDialog

g

go
Display the dialog, wait until the user presses a button or closes the window, and return the index of the chosen button.
0 Examples
No examples for tkinter.simpledialog/SimpleDialog.
See Also
No see-alsos for tkinter.simpledialog/SimpleDialog
0 Notes
No notes for SimpleDialog