Re: GtkProgressBar getting blocked
- From: "Daniel Atallah" <daniel atallah gmail com>
- To: "jim Pharis" <binbrain gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkProgressBar getting blocked
- Date: Thu, 16 Mar 2006 10:13:25 -0500
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]