Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/tkinter/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/tkinter/__pycache__/messagebox.cpython-312.opt-1.pyc

�

&Μg����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�Zedk(r�eded d!��eded d"��eded d#��eded d$��ed%ed d&��ed'ed d(��ed)ed d*��ed+ed d,��yy)/�)�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��eZdZdZdZy)�Messagez
A message box�
tk_messageBoxN)�__name__�
__module__�__qualname__�__doc__�command���//usr/local/lib/python3.12/tkinter/messagebox.pyrr=s
����Gr%rNc���|r	d|vr||d<|r	d|vr||d<|r||d<|r||d<tdi|��j�}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&�_showr6Gst����w�&�U�7�6�?���w�&�U�7�6�?��5��� ��W��	�"�
�
�G�
�
!�
!�
#�C��#�t����J��	��s�8�Or%c�0�t||ttfi|��S)zShow an info message)r6�INFO�OK�r*r+r4s   r&rrVs������r�5�W�5�5r%c�0�t||ttfi|��S)zShow a warning message)r6�WARNINGr9r:s   r&rr[s������"�8��8�8r%c�0�t||ttfi|��S)zShow an error message)r6�ERRORr9r:s   r&rr`s�������6�g�6�6r%c�0�t||ttfi|��S)zAsk a question)r6�QUESTION�YESNOr:s   r&rres������5�<�G�<�<r%c�B�t||ttfi|��}|tk(S)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�B�t||ttfi|��}|tk(S)z0Ask a question; return true if the answer is yes)r6r@rAr/rDs    r&r	r	ps ��
�e�W�h��9��9�A���8�Or%c�l�t||ttfi|��}t|�}|tk(ry|t
k(S)zDAsk a question; return true if the answer is yes, None if cancelled.N)r6r@�YESNOCANCELr1�CANCELr/rDs    r&r
r
vs3��
�e�W�h��?�w�?�A��A��A��F�{����8�Or%c�B�t||ttfi|��}|tk(S)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>rVs>��2(�/��	��
����
��&��	����������	����	��	��	����	���f���6�
9�
7�
=�
�����z��	�&�(�6�#4�5�6�	�)�[���7�8�	�'�9�V�[�1�2�	�*�k�&�+�6�7�	�)�[���4�5�	�(�H�V�Y�/�0�	�/�>�&�*�=�>�	�+�~�f�l�;�<�r%

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists