ó zfc@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+/usr/lib64/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+/usr/lib64/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+/usr/lib64/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+/usr/lib64/python2.7/lib-tk/tkMessageBox.pytsH