CellArea.requestRenderer

void requestRenderer(gtk.cell_renderer.CellRenderer renderer, gtk.types.Orientation orientation, gtk.widget.Widget widget, int forSize, out int minimumSize, out int naturalSize)

This is a convenience function for #GtkCellArea implementations to request size for cell renderers. It’s important to use this function to request size and then use [gtk.cell_area.CellArea.innerCellArea] at render and event time since this function will add padding around the cell for focus painting.

Parameters

rendererthe #GtkCellRenderer to request size for
orientationthe #GtkOrientation in which to request size
widgetthe #GtkWidget that area is rendering onto
forSizethe allocation contextual size to request for, or -1 if the base request for the orientation is to be returned.
minimumSizelocation to store the minimum size, or null
naturalSizelocation to store the natural size, or null