Re: Switching X contexts HOWTO ??
- From: Owen Taylor <otaylor redhat com>
- To: Tristan Van Berkom <vantr touchtunes com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Switching X contexts HOWTO ??
- Date: Thu, 20 Jun 2002 16:42:21 -0400 (EDT)
Tristan Van Berkom <vantr touchtunes com> writes:
Actualy I found a way to do it (only with pixbufs) ... If you look
at "gdk-pixbuf-xlib" module you'll find that with a couple of hours of
work (instead of "static Display *gdk_pixbuf_display" make an array of
struct "instance" containing all static variable's and adding "Display
*disp"
as the first arg to all function prototypes)
Well, I don't think using a modified version of a library in
contrib/ really counts as using GTK+-2.0 :-)
A similar modification was made to the main GdkRGB for GTK+-2.0 to
allow for using GdkRGB with multiple visuals and colormaps; but
most of the GTK+-2.0 changes didn't make their way into gdk-pixbuf-xlib.
All I have to do is a Cleanup function now (to do the oposite of
gdk_pixbuf_xlib_init(Display *display); )
Anyhow ... its been about a week since I joined the list and asked this
question
(maybe it didn't get through right away) and at least someone responded
Sorry that nobody answered sooner; it really depends on whether someone
happens to know the answer is on the list. Sometimes there is a quick
answer... sometimes no answre.
(As you might imagine, I don't have a lot of time to spend on answering
questions on the mailing lists myself, unfortunately.)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]