]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/tests/test_idle.py
4 class TestPanel(wx
.Panel
):
5 def __init__(self
, parent
):
6 wx
.Panel
.__init
__(self
, parent
)
7 self
.gauge
= wx
.Gauge(self
, range=100, pos
=(20,20), size
=(100,-1))
8 self
.Bind(wx
.EVT_IDLE
, self
.OnIdle
)
12 def OnIdle(self
, evt
):
18 print "OnIdle:", self
.count
19 #self.gauge.SetValue(self.count)