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

Parameters

contextthe gtk.cell_area.CellAreaContext used to hold sizes for area.
widgetthe gtk.widget.Widget that area is rendering on
rendererthe gtk.cell_renderer.CellRenderer to get the allocation for
cellAreathe whole allocated area for area in widget for this row
allocationwhere to store the allocation for renderer