Method

GtkTextViewget_window

Declaration [src]

GdkWindow*
gtk_text_view_get_window (
  GtkTextView* text_view,
  GtkTextWindowType win
)

Description [src]

Retrieves the GdkWindow 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.

Parameters

win

Type: GtkTextWindowType

Window to get.

Return value

Type: GdkWindow

A GdkWindow, or NULL.

The returned data is owned by the instance.
The return value can be NULL.