get_cell_area


Description:

public void get_cell_area (TreePath? path, TreeViewColumn? column, out Rectangle rect)

Fills the bounding rectangle in bin_window coordinates for the cell at the row specified by path and the column specified by column.

Note:

Use [class@Gtk.ListView] or [class@Gtk.ColumnView] instead

If path is null, or points to a path not currently displayed, 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 sum of all cell rects 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 gtk_cell_renderer_render. This function is only valid if this is realized.

Parameters:

this

a `GtkTreeView`

path

a `GtkTreePath` for the row, or null to get only horizontal coordinates

column

a `GtkTreeViewColumn` for the column, or null to get only vertical coordinates

rect

rectangle to fill with cell rect