Feb-11-2019, 09:06 PM
Hello Experts,
I would like to show some message on the Message Box, with a Timer on it. Messagebox will have 2 min countdown clock and after 2 min it will be close.
My code is here:
Thanks in advance.
I would like to show some message on the Message Box, with a Timer on it. Messagebox will have 2 min countdown clock and after 2 min it will be close.
My code is here:
from tkinter import * from tkinter import messagebox window= Tk() def wifiOnscript(): messagebox.showinfo("Information!!", "This process may take up to 2 min. Please try after 2min...") wifiOnButton=Button(window,text="WiFi-ON",command=wifiOnscript, height=1, width=22) wifiOnButton.grid(row=2,column=0,padx=40, pady=10) window.mainloop()Please let me know how can I add the clock to my message box.
Thanks in advance.