get_preferred_size


Description:

[ Version ( since = "3.0" ) ]
public void get_preferred_size (Widget widget, out Requisition minimum_size, out Requisition natural_size)

Retrieves the minimum and natural size of a cell taking into account the widget’s preference for height-for-width management.

Parameters:

this

a CellRenderer instance

widget

the Widget this cell will be rendering to

minimum_size

location for storing the minimum size, or null

natural_size

location for storing the natural size, or null