Re: X Window ID



Havoc Pennington wrote:
> 
> Jan Dittberner <jan@jan-dittberner.de> writes:
> >
> > Is it possible to get the X window ID of a gtk_frame
> > or a gtk_widget?
> >
> 
> GDK_WINDOW_XID (widget->window)
> 
> Note that you must include gdk/gdkx.h, and that widget->window won't
> exist until the widget is realized.
> 
> Havoc

Thanks that worked, but it's not mentioned in the GDK Reference
Dokumentation, so how should I know?

Jan




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