%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/lib-tk/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/lib-tk/tkMessageBox.pyo

ó
Mêáac@s¼ddlmZdZdZdZdZdZdZdZd	Z	d
Z
dZd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ÿÿÿÿ(tDialogterrortinfotquestiontwarningtabortretryignoretoktokcanceltretrycanceltyesnotyesnocanceltaborttretrytignoretcanceltyestnotMessagecBseZdZdZRS(s
A message boxt
tk_messageBox(t__name__t
__module__t__doc__tcommand(((s//usr/local/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“|rtStSt|ƒS(Nticonttypettitletmessage(Rtshowt
isinstancetbooltYEStNOtstr(RRt_icont_typetoptionstres((s//usr/local/lib/python2.7/lib-tk/tkMessageBox.pyt_showCs



cKst||tt|S(sShow an info message(R%tINFOtOK(RRR#((s//usr/local/lib/python2.7/lib-tk/tkMessageBox.pytshowinfoQscKst||tt|S(sShow a warning message(R%tWARNINGR'(RRR#((s//usr/local/lib/python2.7/lib-tk/tkMessageBox.pytshowwarningUscKst||tt|S(sShow an error message(R%tERRORR'(RRR#((s//usr/local/lib/python2.7/lib-tk/tkMessageBox.pyt	showerrorYscKst||tt|S(sAsk a question(R%tQUESTIONtYESNO(RRR#((s//usr/local/lib/python2.7/lib-tk/tkMessageBox.pytaskquestion]scKs"t||tt|}|tkS(s@Ask if operation should proceed; return true if the answer is ok(R%R-tOKCANCELR'(RRR#ts((s//usr/local/lib/python2.7/lib-tk/tkMessageBox.pytaskokcancelascKs"t||tt|}|tkS(s0Ask a question; return true if the answer is yes(R%R-R.R(RRR#R1((s//usr/local/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-tYESNOCANCELR tCANCELtNoneR(RRR#R1((s//usr/local/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)tRETRYCANCELtRETRY(RRR#R1((s//usr/local/lib/python2.7/lib-tk/tkMessageBox.pytaskretrycanceltst__main__tSpamsEgg InformationsEgg 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/local/lib/python2.7/lib-tk/tkMessageBox.pyt<module>sH
		

Zerion Mini Shell 1.0