Google News
logo
Tkinter - Interview Questions
How to get an Entry box within a Messagebox in Tkinter?
There are various methods and built-in functions available with the messagebox library in tkinter. Let's assume you want to display a messagebox and take some input from the user in an Entry widget. In this case, you can use the askstring library from simpledialog. The askstring library creates a window that takes two arguments, the title of the window, and the input title before the Entry widget.
Advertisement