CellArea.getCellAllocation

void getCellAllocation(gtk.cell_area_context.CellAreaContext context, gtk.widget.Widget widget, gtk.cell_renderer.CellRenderer renderer, gdk.rectangle.Rectangle cellArea, out gdk.rectangle.Rectangle allocation) nothrow

Derives the allocation of renderer inside area if area were to be renderered in cell_area.

Parameters

contextthe #GtkCellAreaContext used to hold sizes for area.
widgetthe #GtkWidget that area is rendering on
rendererthe #GtkCellRenderer to get the allocation for
cellAreathe whole allocated area for area in widget for this row
allocationwhere to store the allocation for renderer