Archive for August, 2009

In this post, I’ll detail how to catch specific key presses and why this can be useful. This is another in my series of “requested” tutorials. There really isn’t much to catching key presses, but it can be a little confusing when one widget behaves slightly differently from another. The really complicated stuff comes in when you need to capture the EVT_CHAR. (more…)

I had a request this week to write up a quick tutorial on focus events in wxPython. Fortunately, there’s not a lot of material to cover on this subject, so this should be a pretty quick and dirty little post. I’ll see you after the jump! (more…)

**UPDATE: Added some refactored examples and better attribution!**

This past couple of weeks, I’ve seen multiple people ask about timers and how they work either on the wxPython mailing list or on their IRC channel. So I decided it was high time I wrote a couple of example scripts to show how they’re used. I will cover two examples, the first of which will only have one timer and the second will have two. Robin Dunn contacted me with some improvements to the examples, so I have added a refactored example of each to this article. (more…)