
    .hh                        S SK Jr  / SQrSrSrSrSrSrSrS	r	S
r
SrSrSrSrSrSrSrSrSr " S S\5      rS-S jrS.S jrS.S jrS.S jrS.S jrS.S jrS.S jrS.S jrS.S jr\S:X  a  \" S\" S S!5      5        \" S\" S S"5      5        \" S\" S S#5      5        \" S\" S S$5      5        \" S%\" S S&5      5        \" S'\" S S(5      5        \" S)\" S S*5      5        \" S+\" S S,5      5        gg)/    )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                       \ rS rSrSrSrSrg)Message=   zA message boxtk_messageBox N)__name__
__module____qualname____firstlineno____doc__command__static_attributes__r        ;/opt/python-3.13.8/usr/lib/python3.13/tkinter/messagebox.pyr   r   =   s
    Gr(   r   Nc                 
   U(       a
  SU;  a  X$S'   U(       a
  SU;  a  X4S'   U (       a  XS'   U(       a  XS'   [        S0 UD6R                  5       n[        U[        5      (       a  U(       a  [        $ [
        $ [        U5      $ )Nicontypetitlemessager    )r   show
isinstanceboolYESNOstr)r-   r.   _icon_typeoptionsress         r)   _showr9   G   so    w&U6?w&U6?5 W	"

G

!
!
#C#tJ	s8Or(   c                 .    [        X[        [        40 UD6$ )zShow an info message)r9   INFOOKr-   r.   r7   s      r)   r   r   V   s    r5W55r(   c                 .    [        X[        [        40 UD6$ )zShow a warning message)r9   WARNINGr<   r=   s      r)   r   r   [   s    "888r(   c                 .    [        X[        [        40 UD6$ )zShow an error message)r9   ERRORr<   r=   s      r)   r   r   `   s    6g66r(   c                 .    [        X[        [        40 UD6$ )zAsk a question)r9   QUESTIONYESNOr=   s      r)   r   r   e   s    5<G<<r(   c                 @    [        X[        [        40 UD6nU[        :H  $ )z@Ask if operation should proceed; return true if the answer is ok)r9   rC   OKCANCELr<   r-   r.   r7   ss       r)   r   r   j   s    eh<G<A7Nr(   c                 @    [        X[        [        40 UD6nU[        :H  $ )z0Ask a question; return true if the answer is yes)r9   rC   rD   r2   rG   s       r)   r	   r	   p   s    eh99A8Or(   c                 l    [        X[        [        40 UD6n[        U5      nU[        :X  a  gU[
        :H  $ )zDAsk a question; return true if the answer is yes, None if cancelled.N)r9   rC   YESNOCANCELr4   CANCELr2   rG   s       r)   r
   r
   v   s1    eh?w?AAAF{8Or(   c                 @    [        X[        [        40 UD6nU[        :H  $ )zDAsk if operation should be retried; return true if the answer is yes)r9   r?   RETRYCANCELRETRYrG   s       r)   r   r      s    eg{>g>A:r(   __main__SpamzEgg InformationzEgg Warningz	Egg Alertz	Question?proceedzProceed?zyes/nozGot it?zyes/no/cancelzWant it?z	try againz
Try again?)NNNN)NN)tkinter.commondialogr   __all__rA   r;   rC   r?   ABORTRETRYIGNOREr<   rF   rN   rD   rK   ABORTrO   IGNORErL   r2   r3   r   r9   r   r   r   r   r   r	   r
   r   r!   printr    r(   r)   <module>rY      s>  2 (/ 	
 & 	 					f 6
9
7
=
 z	&(6#456	)[78	'9V[12	*k&+67	)[45	(HVY/0	/>&*=>	+~fl;< r(   