����JFIF���������
1#@!#!123s
D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
proc
/
self
/
root
/
lib64
/
python3.8
/
tkinter
/
__pycache__
/
Filename :
messagebox.cpython-38.pyc
back
Copy
U ����e5d}����������������������@���sH��d�dl�mZ�dZdZdZdZdZdZdZd Z d Z dZdZd Z dZdZdZdZdZG�dd��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�ignoreZcancelZyesZnoc�������������������@���s���e�Zd�ZdZdZdS�)�Messagez A message boxZ tk_messageBoxN)�__name__� __module__�__qualname__�__doc__Zcommand��r ���r ����*/usr/lib64/python3.8/tkinter/messagebox.pyr���9���s���r���Nc�����������������K���sl���|rd|kr||d<�|r(d|kr(||d<�|�r4|�|d<�|r@||d<�t�f�|����}t|t�rd|r`tS�tS�t|�S�)NZicon�type�title�message)r���Zshow� isinstance�bool�YES�NO�str)r���r���Z_iconZ_type�options�resr ���r ���r����_showC���s�������� r���c�����������������K���s���t�|�|ttf|�S�)zShow an info message)r����INFO�OK�r���r���r���r ���r ���r����showinfoR���s����r���c�����������������K���s���t�|�|ttf|�S�)zShow a warning message)r����WARNINGr���r���r ���r ���r����showwarningW���s����r���c�����������������K���s���t�|�|ttf|�S�)zShow an error message)r����ERRORr���r���r ���r ���r���� showerror\���s����r!���c�����������������K���s���t�|�|ttf|�S�)zAsk a question)r����QUESTION�YESNOr���r ���r ���r����askquestiona���s����r$���c�����������������K���s���t�|�|ttf|�}|tkS�)z@Ask if operation should proceed; return true if the answer is ok)r���r"����OKCANCELr����r���r���r����sr ���r ���r����askokcancelf���s����r(���c�����������������K���s���t�|�|ttf|�}|tkS�)z0Ask a question; return true if the answer is yes)r���r"���r#���r���r&���r ���r ���r����askyesnol���s����r)���c�����������������K���s.���t�|�|ttf|�}t|�}|tkr&dS�|tkS�)zDAsk a question; return true if the answer is yes, None if cancelled.N)r���r"����YESNOCANCELr����CANCELr���r&���r ���r ���r����askyesnocancelr���s ����r,���c�����������������K���s���t�|�|ttf|�}|tkS�)zDAsk if operation should be retried; return true if the answer is yes)r���r����RETRYCANCEL�RETRYr&���r ���r ���r����askretrycancel|���s����r/����__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���r ���r���r"���r���ZABORTRETRYIGNOREr���r%���r-���r#���r*���ZABORTr.���ZIGNOREr+���r���r���r���r���r���r���r!���r$���r(���r)���r,���r/���r ����printr ���r ���r ���r����<module>���sH���