Re: How to oblige Gtk to redraw the window



>Also note that if you need to react to something that happens
>externally, you are often better off creating a new event source for
>the mainloop instead of creating a new thread.

This is only true if you don't have "real time" goals. The main loop
will not handle your event until its finished processing all preceding
events. This can delay the handling of an event by an unbounded time.

For most programs, this won't matter, since the "unbounded time" is
almost always extremely short. But for some people, its an issue.

--p




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