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 renderered in cell_area.

Parameters:

this

a CellArea

context

the CellAreaContext used to hold sizes for this .

widget

the Widget that this is rendering on

renderer

the CellRenderer 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