Re: XtWindow in gtk?



Vahid Zahiri <v_zahiri yahoo com> writes:
> 
>  What can i use instead of "XtWindow" function in gtk?
>  I need get window ID (integer number).
> 
>  how can i get it in Gtk?

#include <gdk/gdkx.h> and use GDK_WINDOW_XID (gdk_window).

For widgets widget->window is the GdkWindow. You need the 
widget to be realized first. Realization happens when you show the
toplevel window containing the widget.

Havoc




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