Re: setting gdk display
- From: Owen Taylor <otaylor redhat com>
- To: Tuviah Snyder <tuviah runrev com>
- Cc: gtk-list gnome org
- Subject: Re: setting gdk display
- Date: Sat, 25 Oct 2003 09:13:23 -0400
On Sat, 2003-10-25 at 03:36, Tuviah Snyder wrote:
> How do I set the display that GTK uses. My app uses an X display opened with
> XOpenDisplay and it looks like GTK is using a different X display. I would
> like to have GDK/GTK use an X Display specified by me so things are in sync
This is not possible.
> I can do things like copy part of gdkpixmaps to my X11 pixmaps using
> XCopyArea (of course I would get the x11 pixmap id of the gdkpixmap).
You can, of course, do this with two XDisplays with appropriate
use of XSync()
> If this is not possible, any downsides to having my X11 app use the same X
> Display that GTK is using?
See the header gdk/gdkx.h; that gives access to the underlying
X objects for GDK objects.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]