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 [gtk.cell_area.CellArea] 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 [gtk.cell_renderer.CellRenderer] to request size for
orientationthe [gtk.types.Orientation] in which to request size
widgetthe [gtk.widget.Widget] 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
naturalSizelocation to store the natural size