;ò ãÞCc@s³dZdkZdkZdkZdeieiodpdfGHdGeiƒGHeiZdfd„ƒYZ dei fd „ƒYZ d „Z e d joe eiƒndS( sž This program will load and run one of the individual demos in this directory within its own frame window. Just specify the module name on the command line. Nswx.VERSION_STRING = %s (%s)sunicodesansispid:sLogcBstZd„ZeZRS(NcCs0|ddjo|d }nti|ƒdS(Niÿÿÿÿs (stextswxs LogMessage(sselfstext((sc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pys WriteText#s(s__name__s __module__s WriteTextswrite(((sc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pysLog"s s RunDemoAppcBs,tZd„Zd„Zd„Zd„ZRS(NcCs5||_||_||_tii|dtƒdS(Nsredirect( snamesselfsmodules demoModulesuseShellswxsApps__init__sFalse(sselfsnamesmodulesuseShell((sc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pys__init__+s   c s1titiƒƒ|itƒtitdd|idddfdddfdti ƒ} | i ƒti ƒ} tiƒ}|idd d ƒ}|iti|i|ƒ| i|d ƒh}t|d <||d <|i|d<| |d<| i| ƒ| itƒ| iti|iƒ|ii| | tƒƒ}|o@| iddfƒ|i ƒ||_!||d<| i"ƒ}n| i$ƒtS|i%| ƒ| |_ |i&o{dkl'}|i(i)td|ƒ‰|i*d|i+ƒd|_+ˆi,|ƒˆiƒ‡d†}| iti|ƒntSdS(Niÿÿÿÿs RunDemo: sposi2ssizeiÈidsstyles E&xit Alt-Xs Exit demos&Fileswxsappsmodulesframei€iàswin(spyslocalsiics#ˆoˆiƒn|iƒdS(N(sshellsClosesevtsSkip(sevt(sshell(sc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pys CloseShellms(.swxsLog_SetActiveTargets LogStderrsselfs SetAssertModes assertModesFramesNonesnamesDEFAULT_FRAME_STYLEsframesCreateStatusBarsMenuBarsmenuBarsMenusmenusAppendsitemsBindsEVT_MENUs OnExitAppsnss demoModules SetMenuBarsShowsTrues EVT_CLOSEs OnCloseFramesrunTestsLogswinsSetSizesSetFocusswindowsGetRectsfrectsDestroys SetTopWindowsuseShellspysshells ShellFramesOffsetXYsheightsSetRects CloseShell( sselfsnss CloseShellspysitemsshellsfrectsmenuswinsframesmenuBar((sshellsc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pysOnInit2sN .                     cCs|iitƒdS(N(sselfsframesClosesTrue(sselfsevt((sc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pys OnExitAppvscCsBt|dƒot|idƒo|iiƒn|iƒdS(Nswindows ShutdownDemo(shasattrsselfswindows ShutdownDemosevtsSkip(sselfsevt((sc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pys OnCloseFramezs#(s__name__s __module__s__init__sOnInits OnExitApps OnCloseFrame(((sc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pys RunDemoApp*s  D cCsÂt}xOtttiƒƒD]8}ti|dddgjot}ti|=PqqWt|ƒdjodGHt‚nt i i |dƒ\}}t|ƒ}t|||ƒ}|iƒdS(Ns--shells-shells-sis5Please specify a demo module name on the command-linei(sFalsesuseShellsrangeslenssyssargvsxsTrues SystemExitsosspathssplitextsnamesexts __import__smodules RunDemoAppsappsMainLoop(sargvsuseShellsmodulesappsextsxsname((sc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pysmainƒs    s__main__(s__doc__swxssyssossVERSION_STRINGs USE_UNICODEsgetpidsPYAPP_ASSERT_DIALOGs assertModesLogsApps RunDemoAppsmains__name__sargv(sLogs assertModessyss RunDemoAppsmainsosswx((sc/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/run.pys?s # Y