Re: wxPython - drawing without paint event
by Glenn Chappell other posts by this author
Aug 11 2007 7:02PM messages near this date
Re: wxPython - drawing without paint event
|
Re: wxPython - drawing without paint event
On Aug 11, 3:31 am, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n...@[...].com> wrote:
> glenn.chapp...@[...].com wrote:
> > On a related topic, it seems like it would be nice to do *all*
> > drawing in
> > response topaintevents. When I get aneventfrom the timer, I
> > would just tell wx that part of the window needs redrawing, and
> > depend on it to give me apainteven when nothing of higher
> > priority needs to be done.
>
> One nice strategy from an example in "wxPython in Action" is the
> following:
>
> * the frame has Draw methods that draw into a BufferedDC, which is
> chained to a bitmap member
>
> * inside thepaintmethod, the bitmap member is drawn to screen
Okay, but how do I tell wx that it needs to send me a paint event?
--
http://mail.python.org/mailman/listinfo/python-list
Thread:
Matt Bitten
7stud
Bjoern Schliessmann
Bjoern Schliessmann
kyosohma
kyosohma
Bjoern Schliessmann
Bjoern Schliessmann
7stud
Steve Holden
Bjoern Schliessmann
7stud
Bjoern Schliessmann
Glenn Chappell
7stud
Glenn Chappell
|