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?
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?
GtkEventBox does not contain a GtkWindow. It contains a GdkWindow, which is what the window member will contain.