MESSAGE
DATE | 2002-06-09 |
FROM | Paul Davis
|
SUBJECT | Subject: [hangout] Re: Changing a Label Presentation
|
>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
____________________________ New Yorker Linux Users Scene Fair Use - because it's either fair use or useless....
|
|