Method

Gtk.TextView.get_visible_rect

Declaration [src]

void
gtk_text_view_get_visible_rect (
  GtkTextView* text_view,
  GdkRectangle* visible_rect
)

Description [src]

Fills visible_rect with the currently-visible region of the buffer, in buffer coordinates.

Convert to window coordinates with gtk_text_view_buffer_to_window_coords().

Parameters

visible_rect GdkRectangle*
 

rectangle to fill

 Direction: out
 Ownership is not transferred to the callee