GtkTextWindowType gtk_text_view_get_window_type ( GtkTextView* text_view, GdkWindow* window )
Usually used to find out which window an event corresponds to.
If you connect to an event signal on
text_view, this function
should be called on
event->window to see which window it was.
A window type.
The data is owned by the caller of the method.