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

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

See also

#2024-5-16