Question dialog : Common Dialog : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » Common Dialog »

 

Question dialog


Question dialog


from Tkinter import *
from tkMessageBox import *
from tkFileDialog   import askopenfilename      

def callback():
    askquestion('Warning', 'Line "quotation"n Line ?')
    
    
errmsg = 'Error!'
Button(text='Quit', command=callback).pack(fill=X)
Button(text='Spam', command=(lambda: showerror('Spam', errmsg))).pack(fill=X)
mainloop()


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo GUI Tk
» Common Dialog