From: Kevin A. <ka...@us...> - 2005-12-23 20:07:54
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32513 Modified Files: timers-threads.html Log Message: wx.wxWakeUpIdle() -> wx.WakeUpIdle() Index: timers-threads.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/timers-threads.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** timers-threads.html 23 Dec 2005 20:01:51 -0000 1.5 --- timers-threads.html 23 Dec 2005 20:07:43 -0000 1.6 *************** *** 238,242 **** print "myThread x=%d" % x q.put(str(x)) # stick something on message queue ! wx.wxWakeUpIdle() # triggers 'idle' handlers x += 10 </pre> --- 238,242 ---- print "myThread x=%d" % x q.put(str(x)) # stick something on message queue ! wx.WakeUpIdle() # triggers 'idle' handlers x += 10 </pre> *************** *** 251,255 **** refer to the Python Library Reference doco for module </p> <h4>4. Add an idle event handler</h4> ! <p>In the thread function above, the operative line is <span class="code">wx.wxWakeUpIdle()</span> . Upon calling that method, wxWindows tells all open windows, Hey, wake up - something's happened you might need to react to! So we need to add a handler --- 251,255 ---- refer to the Python Library Reference doco for module </p> <h4>4. Add an idle event handler</h4> ! <p>In the thread function above, the operative line is <span class="code">wx.WakeUpIdle()</span> . Upon calling that method, wxWindows tells all open windows, Hey, wake up - something's happened you might need to react to! So we need to add a handler |