CellRenderer.getPreferredHeightForWidth

void getPreferredHeightForWidth(gtk.widget.Widget widget, int width, out int minimumHeight, out int naturalHeight)

Retrieves a cell renderers’s minimum and natural height if it were rendered to widget with the specified width.

Parameters

widgetthe gtk.widget.Widget this cell will be rendering to
widththe size which is available for allocation
minimumHeightlocation for storing the minimum size
naturalHeightlocation for storing the preferred size