HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/tkinter/__pycache__/messagebox.cpython-37.pyc
B

��gu�@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�ignoreZcancelZyes�noc@seZdZdZdZdS)�Messagez
A message boxZ
tk_messageBoxN)�__name__�
__module__�__qualname__�__doc__Zcommand�rr�./usr/local/lib/python3.7/tkinter/messagebox.pyr	9sr	NcKsl|rd|kr||d<|r(d|kr(||d<|r4||d<|r@||d<tf|���}t|t�rd|r`tStSt|�S)NZicon�type�title�message)r	Zshow�
isinstance�bool�YES�NO�str)rrZ_iconZ_type�optionsZresrrr�_showCs
rcKst||ttf|�S)zShow an info message)r�INFO�OK)rrrrrr�showinfoQsrcKst||ttf|�S)zShow a warning message)r�WARNINGr)rrrrrr�showwarningUsrcKst||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.commondialogrrrr!rZABORTRETRYIGNORErr$r+r"r(ZABORTr,ZIGNOREr)rrr	rrrr r#r&r'r*r-r
�printrrrr�<module>sH