get_preferred_height_for_width


Description:

[ Version ( since = "3.0" ) ]
public virtual void get_preferred_height_for_width (Widget widget, int width, out int minimum_height, out int natural_height)

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

Parameters:

this

a CellRenderer instance

widget

the Widget this cell will be rendering to

width

the size which is available for allocation

minimum_height

location for storing the minimum size, or null

natural_height

location for storing the preferred size, or null