get_preferred_width_for_height


Description:

public virtual void get_preferred_width_for_height (Widget widget, int height, out int minimum_width, out int natural_width)

Retrieves a cell renderers’s minimum and natural width if it were rendered to widget with the specified height .

Parameters:

this

a `GtkCellRenderer` instance

widget

the `GtkWidget` this cell will be rendering to

height

the size which is available for allocation

minimum_width

location for storing the minimum size

natural_width

location for storing the preferred size




2022 vala-language.org