Загрузка...

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

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: https://www.youtube.com/playlist?list=PL1fbP9Dm16mslQOSksqkwQ9p09Heqhkce
Python Playlist : https://www.youtube.com/playlist?list=PL1fbP9Dm16mtOVqRzJkTQGlR0Q4FTBQIA
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

Видео Tkinter Part - 12|Introduction to Message and Dialogue Box with example in Tkinter python|MUST WATCH канала Study2Share
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять