tags:

views:

15

answers:

1

I want to retrieve GtkWindow inside GtkEventBox.
So I used event_box->window, it is not giving any error but i am getting error GTK_IS_WINDOW fails.

or do i have to do it in the expose event?

+1  A: 

GtkEventBox does not contain a GtkWindow. It contains a GdkWindow, which is what the window member will contain.

unwind
So can I set transparency to GdkWindow?
PP