CellRenderer.getPreferredWidthForHeight

void getPreferredWidthForHeight(gtk.widget.Widget widget, int height, out int minimumWidth, out int naturalWidth)

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

Parameters

widgetthe [gtk.widget.Widget] this cell will be rendering to
heightthe size which is available for allocation
minimumWidthlocation for storing the minimum size
naturalWidthlocation for storing the preferred size