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

The gdk:rectangle instance with the 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 the path argument is nil, or points to a path not currently displayed, 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 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 area argument passed to the gtk:cell-renderer-snapshot function. This function is only valid if the tree view is realized.
 

See also

#2024-5-16