popups in tkinter
from tkinter import messagebox
messagebox.showinfo(title="Error", message="No Data File Found.")
popups in tkinter
from tkinter import messagebox
messagebox.showinfo(title="Error", message="No Data File Found.")
how to make alert dialog in tkinter
import tkinter as tk
from tkinter import messagebox as mb
def answer():
mb.showerror("Answer", "Sorry, no answer available")
def callback():
if mb.askyesno('Verify', 'Really quit?'):
mb.showwarning('Yes', 'Not yet implemented')
else:
mb.showinfo('No', 'Quit has been cancelled')
tk.Button(text='Quit', command=callback).pack(fill=tk.X)
tk.Button(text='Answer', command=answer).pack(fill=tk.X)
tk.mainloop()
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()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us