Re: [gtk-list] Re: Progress bar
- From: Kenneth Albanowski <kjahds kjahds com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Progress bar
- Date: Sat, 2 May 1998 19:21:23 -0400 (EDT)
On Sat, 2 May 1998, Andreas Kostyrka wrote:
> On Sat, 2 May 1998 firstname.lastname@example.org wrote:
> > hello all:
> > I have encountered a small problem with the progress bar widget
> > that perhaps someone has a simple solution to.
> > I am forking a child process (using popen) and executing a
> > shell command. The output of this command is to be used to
> > update the progress bar widget. Unfortunatly the progress bar
> > will not redraw reflecting the updated percentage until after
> > the child process is finished. Any ideas are welcome.
> That's because you don't get back to the mainloop.
> Check the actual functions name, but you basically need something like
Back when I was playing with this, I seemed to get slightly better
interactive performance with:
} while (gtk_events_pending());
Kenneth Albanowski (email@example.com, CIS: 70705,126)
] [Thread Prev