CellRenderer.getPreferredWidthForHeight

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

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

Parameters

widgetthe #GtkWidget this cell will be rendering to
heightthe size which is available for allocation
minimumWidthlocation for storing the minimum size, or null
naturalWidthlocation for storing the preferred size, or null