;ò ©ÄG@c@s§dkZdkZdkiZdeifd„ƒYZd„ZdZedjoPdk Z dk Z dk Z e i de i ie idƒge idƒndS( Ns TestPanelcBs#tZd„Zd„Zd„ZRS(NcCstii||dƒ||_ti|dddfddfƒ}|i dƒti|dddfddfƒ}|i dƒ|i ti ƒ|i t ƒti|dddfddftiƒ}||_|itƒti|ƒ|_|iid ƒ|iti|iƒdS( Niÿÿÿÿiii2s01234ids56789i¯iè(swxsPanels__init__sselfsparentslogsgizmoss LEDNumberCtrlsledsSetValues SetAlignmentsLED_ALIGN_RIGHTs SetDrawFadedsFalsesLED_ALIGN_CENTERsclocksOnTimersNonesTimerstimersStartsBinds EVT_TIMER(sselfsparentslogsled((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/LEDNumberCtrl.pys__init__ s $ $     cCs;titiƒƒ}tid|ƒ}|ii|ƒdS(Ns%I-%M-%S(stimes localtimestsstrftimesstsselfsclocksSetValue(sselfsevtsstst((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/LEDNumberCtrl.pysOnTimer scCs|iiƒ|`dS(N(sselfstimersStop(sself((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/LEDNumberCtrl.pys ShutdownDemo&s (s__name__s __module__s__init__sOnTimers ShutdownDemo(((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/LEDNumberCtrl.pys TestPanel s  cCst||ƒ}|SdS(N(s TestPanelsnbslogswin(sframesnbslogswin((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/LEDNumberCtrl.pysrunTest-ss The following was gleaned as best I could from the wxWindows source, which was a bit reluctant to reveal its secrets. My appologies if I missed anything - jmg

LEDNumberCtrl( parent, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=LED_ALIGN_LEFT | LED_DRAW_FADED)

This is a control that simulates an LED clock display. It only accepts numeric input.

Styles

LED_ALIGN_LEFT
Align to the left.
LED_ALIGN_RIGHT
Align to the right.
LED_ALIGN_CENTER
Center on display.
LED_DRAW_FADED
Not implemented.

Methods (and best guesses at what they do)

GetAlignment()
Returns the alignment attribute for the control.
GetDrawFaded()
Returns the DrawFaded attribute for the control.
GetValue()
Returns the current value of the control.
SetAlignment(alignment)
Set the alignment attribute for the control.
SetDrawFaded(value)
Set the DrawFaded attribute for the control.
SetValue(number)
Set the value for the control. Only numeric values are accepted.

Additionally, several methods of wx.Window are available as well. s__main__sii(stimeswxs wx.gizmossgizmossPanels TestPanelsrunTestsoverviews__name__ssyssossrunsmainspathsbasenamesargv( s TestPanelsrunsoverviewsrunTestssysstimesgizmossosswx((sm/mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/LEDNumberCtrl.pys?s   $ =