[wxPython-users] repainting
Mike Driscoll
mdriscoll at co.marshall.ia.us
Mon Mar 10 09:29:44 PDT 2008
Alex,
> -----Original Message-----
> From: Clerc, Alexander J [mailto:clercaj at rose-hulman.edu]
> Sent: Sunday, March 09, 2008 4:20 PM
> To: wxPython-users at lists.wxwidgets.org
> Subject: [wxPython-users] repainting
>
> Hello everyone,
>
> I'm developing a GUI that has several layers of panels and
> I'm having trouble with repainting - when I change something
> on a panel (like change a static picture to a different
> picture) it doesn't always change right away or obey it's
> layout constraints until I resize the entire frame - then
> everything is repainted and looks right. How can I force my
> panels to re-layout and repaint themselves?
>
> Thanks for your help,
> Alex
>
You'll want to call Layout() or Refresh() on the frame in the handler that
changes the picture.
Mike
More information about the wxpython-users
mailing list