[wxPython-users] Drawing panel backgrounds with widgets visible on
top
Frank Aune
Frank.Aune at broadpark.no
Fri Oct 19 14:27:33 PDT 2007
On Friday 19 October 2007 07:21:35 Robin Dunn wrote:
> You can either draw the text yourself on the panel, or you can draw the
> background on the background of the static text too.
I ended up drawing both the background and the text with the Device Context,
and it works on both platforms yay! So thanks for the suggestion :)
Only small annoyance was alot of flickering when resizing the window on win32.
I've seen people recommend using DoubleBuffering for this, but the small
attempts I did provided no improvements.
Based on the code sample provided by Andrea, how would that be extended with
double buffering to prevent flickering on win32?
Thanks,
Frank
More information about the wxpython-users
mailing list