zfc@sddlmZdZdZdZdZdZdZdZd Z d Z d Z d Z d Z dZdZdZdZdZdefdYZd+d+d+d+dZd+d+dZd+d+dZd+d+dZd+d+dZd+d+dZd+d+dZd+d+dZd+d+dZedkrdGeddGHdGedd 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