get_preferred_height


Description:

public virtual void get_preferred_height (CellAreaContext context, Widget widget, out int minimum_height, out int natural_height)

Retrieves a cell area’s initial minimum and natural height.

this will store some geometrical information in context along the way; when requesting sizes over an arbitrary number of rows, it’s not important to check the minimum_height and natural_height of this call but rather to consult get_preferred_height after a series of requests.

Parameters:

this

a `GtkCellArea`

context

the `GtkCellArea`Context to perform this request with

widget

the `GtkWidget` where this will be rendering

minimum_height

location to store the minimum height

natural_height

location to store the natural height