Re: [gtk-list] Getting the x Display of a window




On Sun, 9 May 1999 jzaun@telerama.com wrote:
> 
> I nead to get the X Display of a GTK window, how would I go about doing
> this?

#include <gdk/gdkx.h>, then there is a GDK_DISPLAY() macro that returns
the display (for now Gdk only has one display at a time). There's also
GDK_WINDOW_XDISPLAY(widget->window), which might be a bit more
forward-thinking.

Havoc





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