Re: X Window ID



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




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