get_preferred_width


Description:

public virtual void get_preferred_width (Widget widget, out int minimum_size, out int natural_size)

Retrieves 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