TextView.getWindowType
gtk.types.TextWindowType getWindowType(gdk.window.Window 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.
Parameters
window | a window type |
Returns
the window type.