Re: GtkProgressBar getting blocked



On 3/16/06, jim Pharis <binbrain gmail com> wrote:
I have an external synchronous library call that takes a while to
complete. I want to display a progress bar well I'm waiting.

The problem is, even when the progress bar is in the thread in a loop
calling gtk_progress_bar_pulse, the progress bar still looks like its
frozen. Here is the psuedo code.


You should do it the other way around - have your library call in the
other thread.

If your main thread is blocked, you're not going to get any UI updates.

-D



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