;ò ›ˆeBc@s’dkZdeifd„ƒYZd„ZdZedjoPdkZdkZdkZei dei i ei dƒgei dƒndS( Ns TestPanelcBsGtZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(NcCs tii||dƒ||_ti|ddddfƒ|_|iti |i |iƒti|ddddfƒ|_ |iti |i |i ƒ|iti |iƒ|iti|iƒ|iti|iƒ|iti|iƒ|iti|iƒdS(NiÿÿÿÿsShow Find Dialogii2sShow Find && Replace DialogiZ(swxsPanels__init__sselfsparentslogsButtonsfbtnsBinds EVT_BUTTONs OnShowFindsfrbtnsOnShowFindReplacesEVT_FINDsOnFinds EVT_FIND_NEXTsEVT_FIND_REPLACEsEVT_FIND_REPLACE_ALLsEVT_FIND_CLOSEs OnFindClose(sselfsparentslog((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys__init__s !!cCs|iiƒ|iiƒdS(N(sselfsfbtnsEnablesfrbtn(sself((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys EnableButtonss cCs|iiƒ|iiƒdS(N(sselfsfbtnsDisablesfrbtn(sself((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pysDisableButtons#s cCsE|iƒtiƒ}ti||dƒ}||_|itƒdS(NsFind( sselfsDisableButtonsswxsFindReplaceDatasdatasFindReplaceDialogsdlgsShowsTrue(sselfsevtsdlgsdata((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys OnShowFind's    cCsK|iƒtiƒ}ti||dtiƒ}||_|it ƒdS(NsFind & Replace( sselfsDisableButtonsswxsFindReplaceDatasdatasFindReplaceDialogsFR_REPLACEDIALOGsdlgsShowsTrue(sselfsevtsdlgsdata((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pysOnShowFindReplace/s    cCsÆhtid<tid<tid<tid<}|iƒ}||jo||}nd}|titigjod|i ƒ}nd}|i id||iƒ||iƒfƒdS( NsFINDs FIND_NEXTsREPLACEs REPLACE_ALLs**Unknown Event Type**sReplace text: %sss4%s -- Find text: %s Replace text: %s Flags: %d (swxswxEVT_COMMAND_FINDswxEVT_COMMAND_FIND_NEXTswxEVT_COMMAND_FIND_REPLACEswxEVT_COMMAND_FIND_REPLACE_ALLsmapsevts GetEventTypesetsevtTypesGetReplaceStrings replaceTxtsselfslogswrites GetFindStringsGetFlags(sselfsevtsevtTypesmapsets replaceTxt((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pysOnFind7s6  cCs.|iidƒ|iƒiƒ|iƒdS(NsFindReplaceDialog closing... (sselfslogswritesevts GetDialogsDestroys EnableButtons(sselfsevt((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys OnFindCloseOs( s__name__s __module__s__init__s EnableButtonssDisableButtonss OnShowFindsOnShowFindReplacesOnFinds OnFindClose(((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys TestPanels      cCst||ƒ}|SdS(N(s TestPanelsnbslogswin(sframesnbslogswin((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pysrunTestWss÷FindReplaceDialog is a standard modeless dialog which is used to allow the user to search for some text (and possibly replace it with something else). The actual searching is supposed to be done in the owner window which is the parent of this dialog. Note that it means that unlike for the other standard dialogs this one must have a parent window. Also note that there is no way to use this dialog in a modal way; it is always, by design and implementation, modeless. FileReplaceDialog requires the use of FindReplaceData. This holds the data for the dialog. It is used to initialize the dialog with the default values and will keep the last values from the dialog when it is closed. It is also updated each time a FindDialogEvent is generated so instead of using the FindDialogEvent methods you can also directly query this object. Care must be taken not to use this object after the dialog is destroyed. The data within will be invalid after the parent dialog is destroyed. s__main__sii( swxsPanels TestPanelsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv(ssyssrunsoverviewsrunTestswxsoss TestPanel((sq/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys? s I