Re: Drawing outside of an event handler wx.EVT_PAINT
Dietmar Schwertberger <[email protected]> Wed, 9 Dec 2020 20:17:27 +0100
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
On 09.12.2020 19:47, Tim Roberts wrote: > Dietmar Schwertberger wrote: >> It depends on the application's architecture, of course, but using >> Update eliminates the efficiency gains you get by coalescing Refresh >> requests. Unless your event loop is tied up for long period, >> Refresh is usually the right answer. I have never tried with two rectangles, but I would understand the documentation such that you could call Refresh or RefreshRect twice and then finally trigger the Paint event with Update. Update does not invalidate any area itself. Regards, Dietmar -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/2f6585c6-825f-955e-34e7-adcc56a58345%40schwertberger.de.