Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
XMc@sdZddkTdefdYZdefdYZdefdYZd Zd efd YZd Zd efdYZ dZ e djoSe Z e ieddddGHeddddddGHe ddGHndS(sDialog boxes This module handles dialog boxes. It contains the following public symbols: Dialog -- a base class for dialogs askinteger -- get an integer from the user askfloat -- get a float from the user askstring -- get a string from the user i(t*tDialogcBs_eZdZd dZdZdZdZd dZd dZ dZ dZ RS( sZClass to open dialogs. This class is intended as a base class for custom dialogs cCs1ti|||io|i|n|o|i|n||_d|_t|}|i ||_ |i dddd|i |i |i|i p ||_ n|id|i|idj o/|id|id|idfn|i i|i|dS(sInitialize a dialog. Arguments: parent -- a parent window (the application window) title -- the dialog title tpadxitpadytWM_DELETE_WINDOWs+%d+%di2N(tToplevelt__init__twinfo_viewablet transientttitletparenttNonetresulttFrametbodyt initial_focustpackt buttonboxtwait_visibilitytgrab_settprotocoltcanceltgeometryt winfo_rootxt winfo_rootyt focus_sett wait_window(tselfR R R((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyR%s*           cCsd|_ti|dS(sDestroy the windowN(R RRtdestroy(R((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRTs cCsdS(screate dialog body. return widget that should have initial focus. This method should be overridden, and is called by the __init__ method. N((Rtmaster((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyR\sc Cst|}t|ddddd|idt}|idtdd d d t|dd ddd|i}|idtdd d d |id |i|id |i|idS(s[add standard button box. override if you do not want the standard buttons ttexttOKtwidthi tcommandtdefaulttsideRiRtCancelssN(R tButtontoktACTIVERtLEFTRtbind(Rtboxtw((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRes '!cCsS|ip|iidS|i|iz|iWd|iXdS(N(tvalidateRRtwithdrawtupdate_idletaskstapplyR(Rtevent((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyR&zs    cCs/|idj o|iin|idS(N(R R RR(RR0((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRscCsdS(svalidate the data This method is called automatically to validate the data before the dialog is destroyed. By default, it always validates OK. i((R((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyR,scCsdS(sprocess the data This method is called automatically to process the data, *after* the dialog is destroyed. By default, it does nothing. N((R((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyR/sN( t__name__t __module__t__doc__R RRRRR&RR,R/(((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRs /    t _QueryDialogcBs8eZdddddZdZdZdZRS(cCs[|pddk}|i}n||_||_||_||_ti|||dS(Ni(tTkintert _default_roottprompttminvaluetmaxvaluet initialvalueRR(RR R7R:R8R9R R5((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRs      cCsd|_ti|dS(N(R tentryRR(R((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRs cCst|d|idt}|idddddtt|dd |_|iidd dddtt|io-|ii d|i|ii dt n|iS( NRtjustifytrowiRitstickytnameR;i( tLabelR7R(tgridtWtEntryR;tER:tinsertt select_rangetEND(RRR+((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRs# c Csddk}y|i}Wn1tj o%|id|idd|dSX|idj o2||ijo"|idd|id|dS|idj o2||ijo"|idd |id|dS||_d S( Nis Illegal values Please try againR is Too smalls2The allowed minimum value is %s. Please try again.s Too larges2The allowed maximum value is %s. Please try again.i( t tkMessageBoxt getresultt ValueErrort showwarningt errormessageR8R R9R (RRHR ((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyR,s2       N(R1R2R RRRR,(((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyR4s    t _QueryIntegercBseZdZdZRS(sNot an integer.cCst|iiS(N(tintR;tget(R((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRIs(R1R2RLRI(((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRMscKst|||}|iS(sget an integer from the user Arguments: title -- the dialog title prompt -- the label text **kw -- see SimpleDialog class Return value is an integer (RMR (R R7tkwtd((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyt askintegers t _QueryFloatcBseZdZdZRS(sNot a floating point value.cCst|iiS(N(tfloatR;RO(R((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRIs(R1R2RLRI(((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRSscKst|||}|iS(sget a float from the user Arguments: title -- the dialog title prompt -- the label text **kw -- see SimpleDialog class Return value is a float (RSR (R R7RPRQ((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pytaskfloat s t _QueryStringcBs#eZdZdZdZRS(cOsH|ido|d|_|d=n d|_ti|||dS(Ntshow(thas_keyt_QueryString__showR R4R(RtargsRP((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRs    cCs=ti||}|idj o|id|in|S(NRW(R4RRYR t configure(RRR;((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyR!scCs |iiS(N(R;RO(R((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRI's(R1R2RRRI(((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyRVs  cKst|||}|iS(sget a string from the user Arguments: title -- the dialog title prompt -- the label text **kw -- see SimpleDialog class Return value is a string (RVR (R R7RPRQ((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyt askstring*s t__main__tSpams Egg countR:i sEgg weight (in tons)R8iR9ids Egg labelNi(R3R5RRR4RMRRRSRURVR\R1tTktroottupdate(((s+/usr/lib/python2.6/lib-tk/tkSimpleDialog.pyts J