Switching X contexts HOWTO ??
- From: Tristan Van Berkom <vantr touchtunes com>
- To: gtk-app-devel-list gnome org
- Subject: Switching X contexts HOWTO ??
- Date: Mon, 17 Jun 2002 11:34:24 -0400
Hi there!
I'm writing an Image server that has to load images ("GdkPixmaps" etc
....)
as X recources (with an XID *) into various X servers And before I go
and write a
"gtk_xcontext_switch(const char *display);" interface I'm wondering if
one already exists
... but it doesn't seem like gtk was developed with that in mind.
I've got a few Ideas
1. Spawn a child proccess to do gtk_init() ... add widgets and exit()
(the exit will cleanup gtk)
2. Spawn a child for every X server I have to serve (what a pain in the
ass :( )
Idealy I need to "Uninit" gtk without flaging X resources as "dirty".
If anyone has any Ideas or has had / having similar problems please mail
me at:
vantr touchtunes com
Thx!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]