wxPython - drawing without paint event

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Sun Aug 12 08:06:39 EDT 2007


 glenn.chappell at gmail.com wrote:

> Okay, but how do I tell wx that it needs to send me a paint event?

It will send it on its own. You just need to bind your OnPaint (or
similar) method to it like 7stud demonstrates.

I really recommend reading "wxPython in Action", or at least the
tutorial.

Regards,


Björn

-- 
BOFH excuse #273:

The cord jumped over and hit the power switch.




More information about the Python-list mailing list