;ò ©ÄG@c @ s³ d k Z d k i i Z d k i Z d Z d e i f d „ ƒ YZ d „ Z d Z e d j oP d k Z d k Z d k Z e i d e i i e i d ƒ g e i d ƒ n d S( Ns You 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 TestWindowc B s t Z e Z d „ Z d „ Z RS( Nc C s» t i i | | d d t i ƒ| i d d ƒ t i d j o d } n d } | i t i t i | t i t i t i ƒ ƒ | i o | i | i ƒ n | i t ƒ | i ƒ t _ d S( Niÿÿÿÿs stylei i s __WXMSW__i i ( s stcs StyledTextCtrls __init__s selfs parents wxs NO_BORDERs SetMarginWidths Platforms fSizes StyleSetFonts STC_STYLE_DEFAULTs Fonts MODERNs NORMALs docs SetDocPointers SetTexts sampleTexts GetDocPointers TestWindow( s selfs parents fSize( ( si /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultiSash.pys __init__# s " c C s t t _ d S( N( s Nones TestWindows doc( s self( ( si /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultiSash.pys ShutDownDemo8 s ( s __name__s __module__s Nones docs __init__s ShutDownDemo( ( ( si /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultiSash.pys TestWindow s c C s? t i | d d d d f d d d f ƒ} | i t ƒ | Sd S( Niÿÿÿÿs posi s sizei€ ià ( s sashs MultiSashs nbs multis SetDefaultChildClasss TestWindow( s frames nbs logs multi( ( si /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/MultiSash.pys runTest@ s * sÖ