CellArea.getPreferredHeight

void getPreferredHeight(gtk.cell_area_context.CellAreaContext context, gtk.widget.Widget widget, out int minimumHeight, out int naturalHeight)

Retrieves a cell area’s initial minimum and natural height.

area will store some geometrical information in context along the way; when requesting sizes over an arbitrary number of rows, it’s not important to check the minimum_height and natural_height of this call but rather to consult [gtk.cell_area_context.CellAreaContext.getPreferredHeight] after a series of requests.

Parameters

contextthe [gtk.cell_area.CellArea]Context to perform this request with
widgetthe [gtk.widget.Widget] where area will be rendering
minimumHeightlocation to store the minimum height
naturalHeightlocation to store the natural height