get_visible_rect


Description:

public void get_visible_rect (out Rectangle visible_rect)

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

Convert to window coordinates with buffer_to_window_coords.

Parameters:

this

a TextView

visible_rect

rectangle to fill




2022 vala-language.org