| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
GTK2
GTK2.TextView

# Method GTK2.TextView()->get_window_type()

Method get_window_type

  `int get_window_type(GTK2.GdkWindow window)`

Description

  Usually used to find out which window an event corresponds to. If you connect to an event signal, this function should be called on event->window to see which window it was. One of TEXT_WINDOW_BOTTOM , TEXT_WINDOW_LEFT , TEXT_WINDOW_PRIVATE , TEXT_WINDOW_RIGHT , TEXT_WINDOW_TEXT , TEXT_WINDOW_TOP and TEXT_WINDOW_WIDGET .