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 `GtkCellRenderer` instance

widget

the `GtkWidget` this cell will be rendering to

width

the size which is available for allocation

minimum_height

location for storing the minimum size

natural_height

location for storing the preferred size




2022 vala-language.org