Re: screen refresh problems



benjamin michael mcclelland <benmcc@unm.edu> writes:
> I am having trouble with the screen not refreshing while running a
> program... I programmed a small simulation in c++ and put a GUI on it with
> glade... It is supposed to color lines in, but only does so at the end of
> the program.. can anyone help?

The FAQ page is broken right now, but it's on there. ;-)

You need to let the main loop run periodically. You can either run
your simulation code in an idle handler, or you can periodically run
the main loop from your idle code.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]