get_cell_allocation


Description:

public Rectangle get_cell_allocation (CellAreaContext context, Widget widget, CellRenderer renderer, Rectangle cell_area)

Derives the allocation of renderer inside this if this were to be rendered in cell_area.

Parameters:

this

a `GtkCellArea`

context

the `GtkCellArea`Context used to hold sizes for this.

widget

the `GtkWidget` that this is rendering on

renderer

the `GtkCellRenderer` to get the allocation for

cell_area

the whole allocated area for this in widget for this row

allocation

where to store the allocation for renderer