Answers for "tkinter messagebox custom buttons commands"

1

tkinter messagebox

import Tkinter
import tkMessageBox

top = Tkinter.Tk()
def hello():
   tkMessageBox.showinfo("Say Hello", "Hello World")

B1 = Tkinter.Button(top, text = "Say Hello", command = hello)
B1.pack()

top.mainloop()
Posted by: Guest on March-07-2020

Code answers related to "tkinter messagebox custom buttons commands"

Python Answers by Framework

Browse Popular Code Answers by Language