You might try Widget.draw() or Widget.drawArea().
These methods should force a refresh.
-Jeff
On Sun, 2003-08-31 at 10:18, Mark Howard wrote:
> Hi,
> I've noticed a bug with CustomEvents class, but don't know how to fix
> it (I wrote CustomEvents).
>
> My program calls custom events to update the gui and everything works
> fine from a multithreaded pov (no more of those XLib errors). But: the
> screen doesn't get refreshed until some gtk widget tells it to refresh.
> e.g. when moving the mouse over certain places.
>
> This makes progress bars look very ugly if you don't move the mouse at
> lot!
>
> Does anyone know how to trigger screen refresh in gtk?
>
> If you're interested, custom events works by simply adding a new event
> to be executed in the glib main loop. Full source available in cvs.
--
Jeffrey Morgan <ku...@zo...>
|