get_preferred_width


Description:

[ Version ( since = "3.0" ) ]
public virtual void get_preferred_width (Widget widget, out int minimum_size, out int natural_size)

Retreives a renderer’s natural size when rendered to widget.

Parameters:

this

a CellRenderer instance

widget

the Widget this cell will be rendering to

minimum_size

location to store the minimum size, or null

natural_size

location to store the natural size, or null