;ò xkAc@s’dkZdeifd„ƒYZd„ZdZedjoPdkZdkZdkZei dei i ei dƒgei dƒndS( Ns TestPanelcBstZd„Zd„ZRS(NcCstii||dƒ||_d|_ti|ddddfƒti|ddddfd dfƒ|_ |i i ƒi }|i i ƒi |i iƒid }ti|d|df|d d |ftiƒ|_|iid d ƒ|iid ƒ|iti|i|iƒdS(Niÿÿÿÿis,This example uses the wx.SpinButton control.i-is1ii2i<iiiid(swxsPanels__init__sselfsparentslogscounts StaticTextsTextCtrlstextsGetSizesheightshswidths GetPositionsxsws SpinButtons SP_VERTICALsspinsSetRangesSetValuesBindsEVT_SPINsOnSpin(sselfsparentslogshsw((sj/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/SpinButton.pys__init__ s  *&  cCs |iit|iƒƒƒdS(N(sselfstextsSetValuesstrsevents GetPosition(sselfsevent((sj/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/SpinButton.pysOnSpin s(s__name__s __module__s__init__sOnSpin(((sj/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/SpinButton.pys TestPanel s cCst||ƒ}|SdS(N(s TestPanelsnbslogswin(sframesnbslogswin((sj/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/SpinButton.pysrunTest&ss@A wx.SpinButton has two small up and down (or left and right) arrow buttons. It is often used next to a text control for increment and decrementing a value. Portable programs should try to use wx.SpinCtrl instead as wx.SpinButton is not implemented for all platforms (Win32 and GTK only currently). NB: the range supported by this control (and wx.SpinCtrl) depends on the platform but is at least -0x8000 to 0x7fff. Under GTK and Win32 with sufficiently new version of comctrl32.dll (at least 4.71 is required, 5.80 is recommended) the full 32 bit range is supported. s__main__sii( swxsPanels TestPanelsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv(ssyssrunsoverviewsrunTestswxsoss TestPanel((sj/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/SpinButton.pys?s