CellArea.getPreferredHeight

Retrieves a cell area's initial minimum and natural height. area 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 gtk_cell_area_context_get_preferred_height() after a series of requests.

class CellArea
void
getPreferredHeight

Parameters

context CellAreaContext

the GtkCellAreaContext to perform this request with

widget Widget

the GtkWidget where area will be rendering

minimumHeight int

location to store the minimum height, or NULL. out[allow-none]

naturalHeight int

location to store the natural height, or NULL. out[allow-none] Since 3.0

Meta