;ò ©ÄG@c@s³dkZdkiiZdkiZdZdeifd„ƒYZ d„Z dZ e djoPdk Z dkZdkZeideiie idƒge id ƒndS( NsYou can drag the little tab on the vertical sash left to create another view, or you can drag the tab on the horizontal sash to the top to create another horizontal view. The red blocks on the sashes will destroy the view (bottom,left) this block belongs to. A yellow rectangle also highlights the current selected view. By calling GetSaveData on the multiSash control the control will return its contents and the positions of each sash as a dictionary. Calling SetSaveData with such a dictionary will restore the control to the state it was in when it was saved. If the class, that is used as a view, has GetSaveData/SetSaveData implemented, these will also be called to save/restore their state. Any object can be returned by GetSaveData, as it is just another object in the dictionary. s TestWindowcBs tZeZd„Zd„ZRS(NcCs»tii||ddtiƒ|iddƒtidjo d}nd}|i ti ti |ti titiƒƒ|io|i|iƒn|itƒ|iƒt_dS(Niÿÿÿÿsstyleiis __WXMSW__i i (sstcsStyledTextCtrls__init__sselfsparentswxs NO_BORDERsSetMarginWidthsPlatformsfSizes StyleSetFontsSTC_STYLE_DEFAULTsFontsMODERNsNORMALsdocs SetDocPointersSetTexts sampleTexts GetDocPointers TestWindow(sselfsparentsfSize((si/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultiSash.pys__init__#s  "  cCs tt_dS(N(sNones TestWindowsdoc(sself((si/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultiSash.pys ShutDownDemo8s(s__name__s __module__sNonesdocs__init__s ShutDownDemo(((si/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultiSash.pys TestWindows cCs?ti|ddddfdddfƒ}|itƒ|SdS(Niÿÿÿÿsposissizei€ià(ssashs MultiSashsnbsmultisSetDefaultChildClasss TestWindow(sframesnbslogsmulti((si/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultiSash.pysrunTest@s* sÖ

MultiSash

MultiSash allows the user to split a window any number of times either horizontally or vertically, and to close the split off windows when desired. s__main__sii(swxswx.lib.multisashslibs multisashssashswx.stcsstcs sampleTextsStyledTextCtrls TestWindowsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv( ssyssrunsstcsoverviewsrunTests TestWindows sampleTextsosssashswx((si/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultiSash.pys?s  "