get_preferred_width_for_height


Description:

[ Version ( since = "3.0" ) ]
public virtual void get_preferred_width_for_height (Widget widget, int height, out int minimum_width, out int natural_width)

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

Parameters:

this

a CellRenderer instance

widget

the Widget this cell will be rendering to

height

the size which is available for allocation

minimum_width

location for storing the minimum size, or null

natural_width

location for storing the preferred size, or null