Tkinter Part - 12|Introduction to Message and Dialogue Box with example in Tkinter python|MUST WATCH

Study2Share
Study2Share
133 بار بازدید - 5 ماه پیش - Tkinter Part - 12 |
Tkinter Part - 12 | Introduction to Message and Dialogue Box with example in Tkinter python| MUST WATCH

CODE:
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()

   🎓 Subscribe & Stay Tuned:

👍 Like, Share, and Comment:
🔗 Connect with us:
GUI Playlist: Building GUI Applications with Tkinte...
Python Playlist : Python Programming Essentials | Study...
Visit My YouTube channel : https://www.youtube.com/ @Study2Share
Thank you for watching.
-----------------------------------------------------------
Like - Share - Comment - Subscribe.
------------------------------------------------------------
#python #programming #GUI #Tkinter #messagebox #dialoguebox #pythonprogramming #pythontutorial  #pythonbasics #pythondatatypes #pythonforbeginners #pythonbeginner #python3 #pythonadvanced #python #pythonexamples #pythonexercises #programming #programmingpython #pythondevelopers #pythondevelopment #pythondeveloper #pythonseries #pythonmastery #pythonmodule #pythonfunction #pythonmethods #pythondictionary #pythonkey #pythonvalue #pythoncoder #pythoncode #top10 #study2share #studytwoshare #studyshare #study #share #pratik #shah
5 ماه پیش در تاریخ 1402/11/28 منتشر شده است.
133 بـار بازدید شده
... بیشتر