Skip to content

ModalBox

Methods

Example

py
import tkinter
from tkinterplus.modalbox import showinfo

root = tkinter.Tk()

def callback():
    showinfo('Title', 'Message', parent=root)

tkinter.Button(root, text='Open Modal', command=callback).pack()
root.mainloop()

example-modalbox

Not associated with or approved by Mojang Studios or Microsoft