RGtk2 (version 2.20.31)

gtkTreeViewGetBackgroundArea: gtkTreeViewGetBackgroundArea

Description

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 gtkCellRendererRender. These background areas tile to cover the entire bin window. Contrast with the cell.area, returned by gtkTreeViewGetCellArea, which returns only the cell itself, excluding surrounding borders and the tree expander area.

Usage

gtkTreeViewGetBackgroundArea(object, path, column)

Arguments

object
path
a GtkTreePath for the row, or NULL to get only horizontal coordinates. [ allow-none ]
column
a GtkTreeViewColumn for the column, or NULL to get only vertical coordiantes. [ allow-none ]

Value

A list containing the following elements:
rect
rectangle to fill with cell background rect