HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.8/tkinter/__pycache__/messagebox.cpython-38.opt-2.pyc
U

n��a}�@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�infoZquestion�warningZabortretryignore�okZokcancelZretrycancelZyesnoZyesnocancel�abortZretry�ignore�cancelZyes�noc@seZdZdZdS)�MessageZ
tk_messageBoxN)�__name__�
__module__�__qualname__Zcommand�rr�./usr/local/lib/python3.8/tkinter/messagebox.pyr9srNcKsl|rd|kr||d<|r(d|kr(||d<|r4||d<|r@||d<tf|���}t|t�rd|r`tStSt|�S)NZicon�type�title�message)rZshow�
isinstance�bool�YES�NO�str)rrZ_iconZ_type�options�resrrr�_showCs
rcKst||ttf|�S�N)r�INFO�OK�rrrrrr�showinfoRsr cKst||ttf|�Sr)r�WARNINGrrrrr�showwarningWsr"cKst||ttf|�Sr)r�ERRORrrrrr�	showerror\sr$cKst||ttf|�Sr)r�QUESTION�YESNOrrrr�askquestionasr'cKst||ttf|�}|tkSr)rr%�OKCANCELr�rrr�srrr�askokcancelfsr+cKst||ttf|�}|tkSr)rr%r&rr)rrr�askyesnolsr,cKs.t||ttf|�}t|�}|tkr&dS|tkSr)rr%�YESNOCANCELr�CANCELrr)rrr�askyesnocancelrs
r/cKst||ttf|�}|tkSr)rr!�RETRYCANCEL�RETRYr)rrr�askretrycancel|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