Re: GdkWidget from a GdkWindow?



Soeren Sandmann wrote:

Jim Crafton <jim crafton verizon net> writes:

is there any way to get the GdkWidget associated with a GdkWindow ? I
know you can get the GdkWindow from the GdkWidget but I am not sure
how to do the reverse.

You can use gdk_window_get_user_data()

would this mean that you would have to call gdk_window_set_user_data( widget->window, widget ) or is this done
automatically by gtk ?


Thanks

Jim




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