Re: [gtk-list] Progress bar
- From: Tim Janik <timj gtk org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Progress bar
- Date: Sat, 2 May 1998 23:33:38 +0200 (CEST)
On Sat, 2 May 1998 jrfmeyer@garden.net 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.
use gdk_input_add() to select(2) on the pipe and get known when the child
puts out new text. gtk will automatically update the screen then.
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]