Re: setting gdk display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux