get_preferred_height_for_width


Description:

public virtual void get_preferred_height_for_width (Widget widget, int width, out int minimum_height, out int natural_height)

Retrieves 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