Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.9/tkinter/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.9/tkinter/__pycache__/messagebox.cpython-39.opt-1.pyc

a

��g�@sPddlmZgd�ZdZdZdZdZdZdZd	Z	d
Z
dZdZd
Z
dZdZdZdZdZdZGdd�de�Zd6dd�Zd7dd�Zd8dd�Zd9dd�Zd:dd�Zd;d d!�Zd<d"d#�Zd=d$d%�Zd>d&d'�Zed(k�rLeded)d*��eded)d+��eded)d,��eded)d-��ed.ed)d/��ed0ed)d1��ed2ed)d3��ed4ed)d5��dS)?�)�Dialog)�showinfo�showwarning�	showerror�askquestion�askokcancel�askyesno�askyesnocancel�askretrycancel�error�infoZquestion�warningZabortretryignore�okZokcancelZretrycancelZyesnoZyesnocancel�abortZretry�ignore�cancelZyes�noc@seZdZdZdZdS)�Messagez
A message boxZ
tk_messageBoxN)�__name__�
__module__�__qualname__�__doc__Zcommand�rr�./usr/local/lib/python3.9/tkinter/messagebox.pyr=srNcKsp|rd|vr||d<|r(d|vr(||d<|r4||d<|r@||d<tfi|����}t|t�rh|rdtStSt|�S)NZicon�type�title�message)rZshow�
isinstance�bool�YES�NO�str)rrZ_iconZ_type�options�resrrr�_showGs
r$cKst||ttfi|��S)zShow an info message)r$�INFO�OK�rrr"rrrrVsrcKst||ttfi|��S)zShow a warning message)r$�WARNINGr&r'rrrr[srcKst||ttfi|��S)zShow an error message)r$�ERRORr&r'rrrr`srcKst||ttfi|��S)zAsk a question)r$�QUESTION�YESNOr'rrrresrcKst||ttfi|��}|tkS)z@Ask if operation should proceed; return true if the answer is ok)r$r*�OKCANCELr&�rrr"�srrrrjsrcKst||ttfi|��}|tkS)z0Ask a question; return true if the answer is yes)r$r*r+rr-rrrrpsrcKs2t||ttfi|��}t|�}|tkr*dS|tkS)zDAsk a question; return true if the answer is yes, None if cancelled.N)r$r*�YESNOCANCELr!�CANCELrr-rrrr	vs
r	cKst||ttfi|��}|tkS)zDAsk if operation should be retried; return true if the answer is yes)r$r(�RETRYCANCEL�RETRYr-rrrr
�sr
�__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.commondialogr�__all__r)r%r*r(ZABORTRETRYIGNOREr&r,r1r+r/ZABORTr2ZIGNOREr0rr rr$rrrrrrr	r
r�printrrrr�<module>sJ










	


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