get_background_area


Description:

public void get_background_area (TreePath? path, TreeViewColumn? column, out Rectangle rect)

Fills the bounding rectangle in bin_window coordinates for the cell at the row specified by path and the column specified by column.

If path is null, or points to a node not found in the tree, the y and height fields of the rectangle will be filled with 0. If column is null, the x and width fields will be filled with 0. The returned rectangle is equivalent to the background_area passed to render. These background areas tile to cover the entire bin window. Contrast with the cell_area, returned by get_cell_area, which returns only the cell itself, excluding surrounding borders and the tree expander area.

Parameters:

this

a TreeView

path

a TreePath for the row, or null to get only horizontal coordinates

column

a TreeViewColumn for the column, or null to get only vertical coordiantes

rect

rectangle to fill with cell background rect