ķ uŽ¸Qc@sŧddlmZdZdZdZdZdZdZdZd Z d Z d Z d Z d Z dZdZdZdZdZdefd„ƒYZd+d+d+d+d„Zd+d+d„Zd+d+d„Zd+d+d„Zd+d+d„Zd+d+d„Zd+d+d„Zd+d+d„Zd+d+d„Zedkr¸dGeddƒGHdGedd ƒGHdGedd!ƒGHdGedd"ƒGHd#Gedd$ƒGHd%Gedd&ƒGHd'Gedd(ƒGHd)Gedd*ƒGHnd+S(,i˙˙˙˙(tDialogterrortinfotquestiontwarningtabortretryignoretoktokcancelt retrycanceltyesnot yesnocanceltaborttretrytignoretcanceltyestnotMessagecBseZdZdZRS(s A message boxt tk_messageBox(t__name__t __module__t__doc__tcommand(((s)/sys/lib/python2.7/lib-tk/tkMessageBox.pyR9scKs|rd|kr||dd|kr>||dt||tt|}t|ƒ}|tkr4dS|tkS(sDAsk a question; return true if the answer is yes, None if cancelled.N(R%R-t YESNOCANCELR tCANCELtNoneR(RRR#R1((s)/sys/lib/python2.7/lib-tk/tkMessageBox.pytaskyesnocancelks   cKs"t||tt|}|tkS(sDAsk if operation should be retried; return true if the answer is yes(R%R)t RETRYCANCELtRETRY(RRR#R1((s)/sys/lib/python2.7/lib-tk/tkMessageBox.pytaskretrycanceltst__main__tSpamsEgg Informations Egg Warnings Egg Alerts Question?tproceedsProceed?syes/nosGot it?s yes/no/cancelsWant it?s try agains Try again?N(ttkCommonDialogRR+R&R-R)tABORTRETRYIGNORER'R0R8R.R4tABORTR9tIGNORER5RRRR6R%R(R*R,R/R2R3R7R:R(((s)/sys/lib/python2.7/lib-tk/tkMessageBox.pytsH