Package: gtk

Function gtk-tree-view-background-area

Lambda List

gtk-tree-view-background-area (view path column)

Arguments

view -- a gtk-tree-view widget
path -- a gtk-tree-path instance for the row, or nil to get only horizontal coordinates
column -- a gtk-tree-view-column object for the column, or nil to get only vertical coordiantes

Return Value

A gdk-rectangle instance with the cell background rectangle.

Details

Returns the bounding rectangle in the bin window coordinates for the cell at the row specified by path and the column specified by column. If path is nil, 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 nil, the x and width fields will be filled with 0. The returned rectangle is equivalent to the background-area passed to the function gtk-cell-renderer-render. These background areas tile to cover the entire bin window. Contrast with the cell-area, returned by the function gtk-tree-view-cell-area, which returns only the cell itself, excluding surrounding borders and the tree expander area.
 

See also

2021-2-26