ok

Mini Shell

Direktori : /proc/thread-self/root/lib64/python2.7/lib-tk/
Upload File :
Current File : //proc/thread-self/root/lib64/python2.7/lib-tk/tkMessageBox.pyc

�
]цdc@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/lib64/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+/usr/lib64/python2.7/lib-tk/tkMessageBox.pyt_showCs



cKst||tt|�S(sShow an info message(R%tINFOtOK(RRR#((s+/usr/lib64/python2.7/lib-tk/tkMessageBox.pytshowinfoQscKst||tt|�S(sShow a warning message(R%tWARNINGR'(RRR#((s+/usr/lib64/python2.7/lib-tk/tkMessageBox.pytshowwarningUscKst||tt|�S(sShow an error message(R%tERRORR'(RRR#((s+/usr/lib64/python2.7/lib-tk/tkMessageBox.pyt	showerrorYscKst||tt|�S(sAsk a question(R%tQUESTIONtYESNO(RRR#((s+/usr/lib64/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/lib64/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/lib64/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/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)tRETRYCANCELtRETRY(RRR#R1((s+/usr/lib64/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/lib64/python2.7/lib-tk/tkMessageBox.pyt<module>sH
		

Zerion Mini Shell 1.0