Re: A question on pending
- From: Andrej Prsa <andrej prsa guest arnes si>
- To: gtk-list gnome org
- Subject: Re: A question on pending
- Date: Mon, 9 Jun 2003 13:02:33 +0200
Hi!
> > I must issue a system call from my program, something like
> >
> > system ("prog");
> >
> > This operation takes at least a minute, but the time of computation
> > actually depends on many parameters.
> >
> > 1) How do I keep refreshing the GUI?
>
> Use g_spawn_async* family of functions instead, and use pipes to
> communicate with and track the child process if you need to.
Thanks! But ... I learned how to use g_spawn_async, I programmed
everything and then, when I tried compiling it, I realized that these
functions are declared only in glib2*. Unfortunately, I'm using Gtk1.2
because I need to be compatible with as many computers as possible. Do I
have any alternatives to g_spawn_async* in 1.2?
Thanks,
Andrej
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]