The tkinter.messagebox module provides a template base class as well as a variety of convenience methods for commonly used configurations. The message boxes are modal: each blocks until the user responds, then returns a value that depends on the function. The show* functions and Message.show() return the symbolic name of the button the user pressed, as a string (such as OK or YES). Common message box styles and layouts include but are not limited to: