Re: Widget's window



If it does have  a GdkWindow then you can access it via its structure like so

GdkWindow *window = widget->window

Like if  I had a drawing area and I wanted to get to its GdkWindow
Ofcourse da is a GtkWidget *
GdkWindow *window = da->window;

Maher

On Tue, 20 Mar 2001 10:29:27 -0600, Andrei Zmievski said:

> Is there a generic way to get widget's GdkWindow?
>  
>  -Andrei
>  
>  "Music expresses that which can not be said
>   and on which it is impossible to be silent."
>                           -Victor Hugo
>  
>  _______________________________________________
>  gtk-list mailing list
>  gtk-list gnome org
>  http://mail.gnome.org/mailman/listinfo/gtk-list
>  
>  

-- 
http://www.muhri.net -- muhri muhri net





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