Re: [gtk-list] how to get associate GdkWindow from a GtkWindow

The GdkWindow that any widget draws in is 'window' in the _GtkWidget struct.
The window of any widget can thus be found with 'window->window', assuming
that you did 'GtkWidget *window = gtk_window_new(...);'


"Xu, Jiang" wrote:

> I use "gtk_window_new" to create a GtkWindow widget.  Since I try to use
> pixmap, so I need to get the associate GdkWindow.  How I can do that?
> If any one knows, Please teach me ASAP!
> Thanks very much
> Jiang
> --
> To unsubscribe: mail -s unsubscribe < /dev/null

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