get_preferred_height


Description:

[ Version ( since = "3.0" ) ]
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 CellArea

context

the CellAreaContext to perform this request with

widget

the Widget where this will be rendering

minimum_height

location to store the minimum height, or null

natural_height

location to store the natural height, or null




2022 vala-language.org