Answers for "popups in tkinter"

1

popups in tkinter

from tkinter import messagebox
messagebox.showinfo(title="Error", message="No Data File Found.")
Posted by: Guest on February-06-2021
0

popup window python tkinter

import tkinter as tk

def popupmsg(msg, title):
    root = tk.Tk()
    root.title(title)
    label = ttk.Label(root, text=msg)
    label.pack(side="top", fill="x", pady=10)
    B1 = tk.Button(root, text="Okay", command = root.destroy)
    B1.pack()
    popup.mainloop()
Posted by: Guest on July-10-2020

Python Answers by Framework

Browse Popular Code Answers by Language