Sindbad~EG File Manager

Current Path : /lib64/python3.6/tkinter/__pycache__/
Upload File :
Current File : //lib64/python3.6/tkinter/__pycache__/messagebox.cpython-36.opt-1.pyc

3


 \u�@sHddlmZdZdZdZdZdZdZdZd	Z	d
Z
dZdZd
Z
dZdZdZdZdZGdd�de�Zd5dd�Zd6dd�Zd7dd�Zd8dd�Zd9dd�Zd:dd �Zd;d!d"�Zd<d#d$�Zd=d%d&�Zed'k�rDeded(d)��eded(d*��eded(d+��eded(d,��ed-ed(d.��ed/ed(d0��ed1ed(d2��ed3ed(d4��dS)>�)�Dialog�error�infoZquestionZwarningZabortretryignore�okZokcancelZretrycancelZyesnoZyesnocancel�abortZretry�ignoreZcancel�yes�noc@seZdZdZdZdS)�Messagez
A message boxZ
tk_messageBoxN)�__name__�
__module__�__qualname__�__doc__Zcommand�rr�*/usr/lib64/python3.6/tkinter/messagebox.pyr
9sr
NcKsl|rd|kr||d<|r(d|kr(||d<|r4||d<|r@||d<tf|�j�}t|t�rd|r`tStSt|�S)NZicon�type�title�message)r
Zshow�
isinstance�bool�YES�NO�str)rrZ_iconZ_type�options�resrrr�_showCs
rcKst||ttf|�S)zShow an info message)r�INFO�OK)rrrrrr�showinfoQsrcKst||ttf|�S)zShow a warning message)r�WARNINGr)rrrrrr�showwarningUsr cKst||ttf|�S)zShow an error message)r�ERRORr)rrrrrr�	showerrorYsr"cKst||ttf|�S)zAsk a question)r�QUESTION�YESNO)rrrrrr�askquestion]sr%cKst||ttf|�}|tkS)z@Ask if operation should proceed; return true if the answer is ok)rr#�OKCANCELr)rrr�srrr�askokcancelasr(cKst||ttf|�}|tkS)z0Ask a question; return true if the answer is yes)rr#r$r)rrrr'rrr�askyesnofsr)cKs.t||ttf|�}t|�}|tkr&dS|tkS)zDAsk a question; return true if the answer is yes, None if cancelled.N)rr#�YESNOCANCELr�CANCELr)rrrr'rrr�askyesnocancelks
r,cKst||ttf|�}|tkS)zDAsk if operation should be retried; return true if the answer is yes)rr�RETRYCANCEL�RETRY)rrrr'rrr�askretrycanceltsr/�__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#rZABORTRETRYIGNORErr&r-r$r*ZABORTr.ZIGNOREr+rrr
rrr r"r%r(r)r,r/r�printrrrr�<module>sH








	
	


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists