;ò 4)qBc@s’dkZdeifd„ƒYZd„ZdZedjoPdkZdkZdkZei dei i ei dƒgei dƒndS( Ns TestPanelcBstZd„Zd„ZRS(NcCsZ||_tii||dƒti|ddddfƒ}|iti |i |ƒdS(Niÿÿÿÿs Create and Show a ProgressDialogi2( slogsselfswxsPanels__init__sparentsButtonsbsBinds EVT_BUTTONsOnButton(sselfsparentslogsb((sn/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ProgressDialog.pys__init__s c CsÅd}tiddd|d|dtitiBtiBtiBƒ}t }d}xf|o ||joQ|d7}ti d ƒ||d jo|i |d ƒ}qQ|i |ƒ}qQW|iƒdS( NiPsProgress dialog examplesAn informative messagesmaximumsparentsstyleiiiúis Half-time!(smaxswxsProgressDialogsselfs PD_CAN_ABORTs PD_APP_MODALsPD_ELAPSED_TIMEsPD_REMAINING_TIMEsdlgsTrues keepGoingscounts MilliSleepsUpdatesDestroy(sselfsevtscountsdlgsmaxs keepGoing((sn/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ProgressDialog.pysOnButtons  $  (s__name__s __module__s__init__sOnButton(((sn/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ProgressDialog.pys TestPanels cCst||ƒ}|SdS(N(s TestPanelsnbslogswin(sframesnbslogswin((sn/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ProgressDialog.pysrunTest7ssƒ This class represents a dialog that shows a short message and a progress bar. Optionally, it can display an ABORT button

This dialog indicates the progress of some event that takes a while to accomplish, usually, such as file copy progress, download progress, and so on. The display is completely under control of the program; you must update the dialog from within the program creating it.

When the dialog closes, you must check to see if the user aborted the process or not, and act accordingly -- that is, if the PD_CAN_ABORT style flag is set. If not then you may progress blissfully onward. s__main__sii( swxsPanels TestPanelsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv(ssyssrunsoverviewsrunTestswxsoss TestPanel((sn/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ProgressDialog.pys? s (