HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/tkinter/__pycache__/messagebox.cpython-311.pyc
�

��Vc���2�ddlmZgd�ZdZdZdZdZdZdZd	Z	d
Z
dZdZd
Z
dZdZdZdZdZdZGd�de��Zd-d�Zd.d�Zd.d�Zd.d�Zd.d�Zd.d�Zd.d�Zd.d�Zd.d�Zedkr�eded d!����eded d"����eded d#����eded d$����ed%ed d&����ed'ed d(����ed)ed d*����ed+ed d,����dSdS)/�)�Dialog)�showinfo�showwarning�	showerror�askquestion�askokcancel�askyesno�askyesnocancel�askretrycancel�error�info�question�warning�abortretryignore�ok�okcancel�retrycancel�yesno�yesnocancel�abort�retry�ignore�cancel�yes�noc��eZdZdZdZdS)�Messagez
A message box�
tk_messageBoxN)�__name__�
__module__�__qualname__�__doc__�command���&D:\Python311\Lib\tkinter\messagebox.pyrr=s�������O��G�G�Gr%rNc���|r	d|vr||d<|r	d|vr||d<|r||d<|r||d<tdi|�����}t|t��r|rtSt
St
|��S)N�icon�type�title�messager$)r�show�
isinstance�bool�YES�NO�str)r*r+�_icon�_type�options�ress      r&�_showr6Gs����B��w�&�B�U�7�6�?��B��w�&�B�U�7�6�?��(�5��� ��,�W��	�"�
�
�
�G�
�
�
!�
!�
#�
#�C��#�t�����	��J��	��s�8�8�Or%c�6�t||ttfi|��S)zShow an info message)r6�INFO�OK�r*r+r4s   r&rrVs������r�5�5�W�5�5�5r%c�6�t||ttfi|��S)zShow a warning message)r6�WARNINGr9r:s   r&rr[s������"�8�8��8�8�8r%c�6�t||ttfi|��S)zShow an error message)r6�ERRORr9r:s   r&rr`s�������6�6�g�6�6�6r%c�6�t||ttfi|��S)zAsk a question)r6�QUESTION�YESNOr:s   r&rres������5�<�<�G�<�<�<r%c�L�t||ttfi|��}|tkS)z@Ask if operation should proceed; return true if the answer is ok)r6r@�OKCANCELr9�r*r+r4�ss    r&rrjs&��
�e�W�h��<�<�G�<�<�A���7�Nr%c�L�t||ttfi|��}|tkS)z0Ask a question; return true if the answer is yes)r6r@rAr/rDs    r&r	r	ps&��
�e�W�h��9�9��9�9�A���8�Or%c��t||ttfi|��}t|��}|tkrdS|t
kS)zDAsk a question; return true if the answer is yes, None if cancelled.N)r6r@�YESNOCANCELr1�CANCELr/rDs    r&r
r
vsB��
�e�W�h��?�?�w�?�?�A��A���A��F�{���t���8�Or%c�L�t||ttfi|��}|tkS)zDAsk if operation should be retried; return true if the answer is yes)r6r<�RETRYCANCEL�RETRYrDs    r&rr�s'��
�e�W�g�{�>�>�g�>�>�A���:�r%�__main__�SpamzEgg InformationzEgg Warningz	Egg Alertz	Question?�proceedzProceed?zyes/nozGot it?z
yes/no/cancelzWant it?z	try againz
Try again?)NNNN)NN)�tkinter.commondialogr�__all__r>r8r@r<�ABORTRETRYIGNOREr9rCrKrArH�ABORTrL�IGNORErIr/r0rr6rrrrrr	r
rr�printr$r%r&�<module>rVst��2(�'�'�'�'�'�/�/�/��	��
����
��&��	����������	����	��	��	����	�������f��������6�6�6�6�
9�9�9�9�
7�7�7�7�
=�=�=�=�
�����������������z��	=�	�E�&�(�(�6�#4�5�5�6�6�6�	�E�)�[�[���7�7�8�8�8�	�E�'�9�9�V�[�1�1�2�2�2�	�E�*�k�k�&�+�6�6�7�7�7�	�E�)�[�[���4�4�5�5�5�	�E�(�H�H�V�Y�/�/�0�0�0�	�E�/�>�>�&�*�=�=�>�>�>�	�E�+�~�~�f�l�;�;�<�<�<�<�<�	=�	=r%