Re: A problem about programming with gtk+ in multiprocess.



> You can't use a child process to directly update a progress bar widget
> in the parent. End of story. It won't work. You have to do something
> like have the child send progress information to the parent via a
> pipe.
>

Hy Havoc,

Thank you for your explanation about the fork. I understand it better now.
For the progress bar concern, I'm using an IPC message queue because I've
different type of information to pass to the father. So that should be
equivalent to a pipe (a bit more easy to implement). Thanks anyway for the
advise :-)

Jean-Christophe





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