;ò åǶ@c@s§dkZdkiiZdZdeifd„ƒYZd„ZdZ e djoPdk Z dk Z dk Z e ide iie idƒge id ƒndS( Nszone two buckle my shoe three four shut the door five six pick up sticks seven eight lay them straight nine ten big fat hens TestPanelcBstZd„ZRS(Nc CsÁ||_tii||dƒtitiƒ}ti |ddƒ}|i dƒ|i |dtitiBdƒ|i ti|ddddfƒdtidƒ|i ddfƒtiƒ}ti|ddd d fd titiBd d ƒ}tiddddddƒ}xŽ|D]†}ti |d|dƒ}ti|d|dddfƒ} |i |dtitiBtiBddƒ|i | dti ddƒqW|i!|ƒ|i"dƒ|i#ƒti|ddddfd titiBd dƒ}ti|ddddfd titiBd dƒ}tiddddddƒ}tiddddddƒ}x t(t)|ƒƒD]÷}||}|ddjohti |d|ƒ} |i | dtitiBƒti |d|ƒ} |i | dtitiBƒqti|d|dddfƒ} |i | dtiddƒti|d|ƒ} |i | dtiddƒqW|i!|ƒ|i"dƒ|i#dt/ƒ|i!|ƒ|i"dƒ|i#ƒtiti0ƒ}|i ddfƒ|i |dti2ƒ|i d dfƒtitiƒ}|i |dti2ƒ|i ddfƒ|i |dti2ƒ|i ddfƒ|i |ƒ|i |dƒ|i!|ƒ|i"dƒ|i#ƒdS(!Niÿÿÿÿs%ScrolledPanel extends wx.ScrolledWindow, adding all the necessary bits to set up scroll handling for you. Here are three fixed size examples of its use. The demo panel for this sample is also using it -- the wxStaticLine below is intentionally made too long so a scrollbar will be activated.sBlueiissizeiiiŒi,sstylesnamespanel1scolsisvgapishgaps:i2sflagsborderi ii^spanel2iÈidspanel3isscroll_yi((4slogsselfsscrolleds ScrolledPanels__init__sparentswxsBoxSizersVERTICALsvboxs StaticTextsdescsSetForegroundColoursAdds ALIGN_LEFTsALLs StaticLinestextssplitswordss TAB_TRAVERSALs SUNKEN_BORDERspanel1s FlexGridSizersfgs1swordslabelsTextCtrlstcs ALIGN_RIGHTsALIGN_CENTER_VERTICALsLEFTsRIGHTsSetSizers SetAutoLayoutsSetupScrollingspanel2spanel3sfgs2sfgs3srangeslensislabel2slabel3stc2stc3sFalses HORIZONTALshboxs FIXED_MINSIZEsvbox2(sselfsparentslogshboxsvbox2slabelspanel1spanel2spanel3stcslabel2slabel3stc2stc3sfgs1sfgs2sfgs3swordssdescswordsisvbox((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ScrolledPanel.pys__init__ sx     1 !*     !!         (s__name__s __module__s__init__(((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ScrolledPanel.pys TestPanel scCst||ƒ}|SdS(N(s TestPanelsnbslogswin(sframesnbslogswin((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ScrolledPanel.pysrunTesthssØ ScrolledPanel fills a "hole" in the implementation of wx.ScrolledWindow, providing automatic scrollbar and scrolling behavior and the tab traversal mangement that wx.ScrolledWindow lacks. s__main__sii(swxswx.lib.scrolledpanelslibs scrolledpanelsscrolledstexts ScrolledPanels TestPanelsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv( srunTestsrunstextsscrolledssyssoverviewswxsoss TestPanel((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/ScrolledPanel.pys?s ^