tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
N\¬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[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/tkMessageBox.pyR9scKs|rd|kr||d<n|r>d|kr>||d<n|rQ||d<n|rd||d<nt|jƒ}t|tƒr“|rtStSt|ƒS(Nticonttypettitletmessage(Rtshowt
isinstancetbooltYEStNOtstr(RRt_icont_typetoptionstres((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/tkMessageBox.pyt_showCs    cKst||tt|S(sShow an info message(R%tINFOtOK(RRR#((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/tkMessageBox.pytshowinfoQscKst||tt|S(sShow a warning message(R%tWARNINGR'(RRR#((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/tkMessageBox.pyt showwarningUscKst||tt|S(sShow an error message(R%tERRORR'(RRR#((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/tkMessageBox.pyt    showerrorYscKst||tt|S(sAsk a question(R%tQUESTIONtYESNO(RRR#((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/tkMessageBox.pyt askquestion]scKs"t||tt|}|tkS(s@Ask if operation should proceed; return true if the answer is ok(R%R-tOKCANCELR'(RRR#ts((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/tkMessageBox.pyt askokcancelascKs"t||tt|}|tkS(s0Ask a question; return true if the answer is yes(R%R-R.R(RRR#R1((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/tkMessageBox.pytaskyesnofscKs>t||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[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/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[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/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[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib-tk/tkMessageBox.pyt<module>sH