python (3.12.0)

(root)/
lib/
python3.12/
tkinter/
__pycache__/
messagebox.cpython-312.opt-1.pyc

̑eddlmZgdZdZdZdZdZdZdZd	Z	d
Z
dZdZd
Z
dZdZdZdZdZdZGddeZd-dZd.dZd.dZd.dZd.dZd.dZd.dZd.dZd.dZedk(reded d!eded d"eded d#eded d$ed%ed d&ed'ed d(ed)ed d*ed+ed d,yy)/)Dialog)showinfoshowwarning	showerroraskquestionaskokcancelaskyesnoaskyesnocancelaskretrycancelerrorinfoquestionwarningabortretryignoreokokcancelretrycancelyesnoyesnocancelabortretryignorecancelyesnoceZdZdZdZy)Messagez
A message box
tk_messageBoxN)__name__
__module____qualname____doc__commandF/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/tkinter/messagebox.pyrr=s
Gr%rNc|r	d|vr||d<|r	d|vr||d<|r||d<|r||d<tdi|j}t|tr|rtSt
St
|S)Nicontypetitlemessager$)rshow
isinstanceboolYESNOstr)r*r+_icon_typeoptionsress      r&_showr6Gstw&U76?w&U76?5 W	"

G

!
!
#C#tJ	s8Or%c0t||ttfi|S)zShow an info message)r6INFOOKr*r+r4s   r&rrVsr5W55r%c0t||ttfi|S)zShow a warning message)r6WARNINGr9r:s   r&rr[s"888r%c0t||ttfi|S)zShow an error message)r6ERRORr9r:s   r&rr`s6g66r%c0t||ttfi|S)zAsk a question)r6QUESTIONYESNOr:s   r&rres5<G<<r%cBt||ttfi|}|tk(S)z@Ask if operation should proceed; return true if the answer is ok)r6r@OKCANCELr9r*r+r4ss    r&rrjs 
eWh<G<A7Nr%cBt||ttfi|}|tk(S)z0Ask a question; return true if the answer is yes)r6r@rAr/rDs    r&r	r	ps 
eWh99A8Or%clt||ttfi|}t|}|tk(ry|t
k(S)zDAsk a question; return true if the answer is yes, None if cancelled.N)r6r@YESNOCANCELr1CANCELr/rDs    r&r
r
vs3
eWh?w?AAAF{8Or%cBt||ttfi|}|tk(S)zDAsk if operation should be retried; return true if the answer is yes)r6r<RETRYCANCELRETRYrDs    r&rrs!
eWg{>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<ABORTRETRYIGNOREr9rCrKrArHABORTrLIGNORErIr/r0rr6rrrrrr	r
rrprintr$r%r&<module>rVs>2(/	

&						f6
9
7
=
z	&(6#456	)[78	'9V[12	*k&+67	)[45	(HVY/0	/>&*=>	+~fl;<r%