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.10/tkinter/__pycache__/messagebox.cpython-310.pyc
o

�i�@sRddlmZgd�ZdZdZdZdZdZdZd	Z	d
Z
dZdZd
Z
dZdZdZdZdZdZGdd�de�Zd6dd�Zd7dd�Zd7dd�Zd7dd�Zd7dd�Zd7d d!�Zd7d"d#�Zd7d$d%�Zd7d&d'�Zed(kr�eded)d*��eded)d+��eded)d,��eded)d-��ed.ed)d/��ed0ed)d1��ed2ed)d3��ed4ed)d5��dSdS)8�)�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.10/tkinter/messagebox.pyr=srNcKsp|r
d|vr
||d<|rd|vr||d<|r||d<|r ||d<tdi|����}t|t�r4|r2tStSt|�S)NZicon�type�title�messager)rZshow�
isinstance�bool�YES�NO�str)rrZ_iconZ_type�options�resrrr�_showGs
r$cK�t||ttfi|��S)zShow an info message)r$�INFO�OK�rrr"rrrrV�rcKr%)zShow a warning message)r$�WARNINGr'r(rrrr[r)rcKr%)zShow an error message)r$�ERRORr'r(rrrr`r)rcKr%)zAsk a question)r$�QUESTION�YESNOr(rrrrer)rcK�t||ttfi|��}|tkS)z@Ask if operation should proceed; return true if the answer is ok)r$r,�OKCANCELr'�rrr"�srrrrj�rcKr.)z0Ask a question; return true if the answer is yes)r$r,r-rr0rrrrpr2rcKs2t||ttfi|��}t|�}|tkrdS|tkS)zDAsk a question; return true if the answer is yes, None if cancelled.N)r$r,�YESNOCANCELr!�CANCELrr0rrrr	vs
r	cKr.)zDAsk if operation should be retried; return true if the answer is yes)r$r*�RETRYCANCEL�RETRYr0rrrr
�r2r
�__main__ZSpamzEgg InformationzEgg Warningz	Egg Alertz	Question?ZproceedzProceed?zyes/nozGot it?z
yes/no/cancelzWant it?z	try againz
Try again?)NNNN)NN)Ztkinter.commondialogr�__all__r+r&r,r*ZABORTRETRYIGNOREr'r/r5r-r3ZABORTr6ZIGNOREr4rr rr$rrrrrrr	r
r�printrrrr�<module>sN










	�