Package: gtk

Function gtk-tree-view-cell-area

Lambda List

gtk-tree-view-cell-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 coordinates

Return Value

A gdk-rectangle cell rectangle.

Details

Returns 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 nil, or points to a path not currently displayed, 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 sum of all cell rectangles does not cover the entire tree. There are extra pixels in between rows, for example. The returned rectangle is equivalent to the cell-area passed to the function gtk-cell-renderer-render. This function is only valid if the tree view is realized.
 

See also

2021-2-26