TextView.getWindow

Retrieves the gdk.Window corresponding to an area of the text view; possible windows include the overall widget window, child windows on the left, right, top, bottom, and the window that displays the text buffer. Windows are NULL and nonexistent if their width or height is 0, and are nonexistent before the widget has been realized.

class TextView
getWindow

Parameters

win GtkTextWindowType

window to get

Return Value

Type: Window

a gdk.Window, or NULL