Re: Update problem when usin Notebooks
- From: Owen Taylor <otaylor gtk org>
- To: "Klas Bengtsson" <klas justcall c se>
- Cc: <gtk-list redhat com>
- Subject: Re: Update problem when usin Notebooks
- Date: 17 May 1998 17:35:38 -0400
"Klas Bengtsson" <klas@justcall.c.se> writes:
> [1 <text/plain; iso-8859-1 (quoted-printable)>]
> I am using the notebook widget in two separate windows that are running as different processes (on UNIX). When starting the second window from the first (using fork()) the second notebook has trouble with updating the page buttons and labels.
Are you trying to fork and then call GTK+ functions from both
the parent and the child?
This simply won't work. (GTK's connection from to the X server can
only be used from one program). If you want to fork a child from a
GTK+ program and use GTK+ in both, you'll either have to fork the
child before initializing GTK+, or fork+exec the child.
I may have misunderstood the problem, however.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]