Re: Changing a Label Presentation
- From: Paul Davis <pbd op net>
- To: Ruben I Safir <ruben mrbrklyn com>
- Cc: Dov Grobgeld <dov imagic weizmann ac il>, gtk-list gnome org, hangout nylxs com
- Subject: Re: Changing a Label Presentation
- Date: Sun, 09 Jun 2002 14:48:35 -0400
>I wanted to fork the tar process off by itself have it show in it's own window
>.
[ ... ]
>/* pid = fork();
> if(pid != 0){
> perror("We are in the child"); */
> gtk_window_new(GTK_WINDOW_TOPLEVEL);
you can't do this. the parent and child cannot share access to the
same GTK/GDK/Xlib "connection". you have to use threads for that.
write your tar process as a separate program that uses GTK itself,
then fork-and-exec it.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]