get_cell_allocation
Description:
[ Version ( since = "3.0" ) ]
public Rectangle get_cell_allocation (CellAreaContext context, Widget widget, CellRenderer renderer, Rectangle cell_area)
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 |
allocation |
where to store the allocation for |