Package: gtk

Function gtk-cell-area-preferred-height

Lambda List

gtk-cell-area-preferred-height (area context widget)

Arguments

area -- a gtk-cell-area object
context -- a gtk-cell-area-context object to perform this request with
widget -- the gtk-widget where area will be rendering

Return Value

minimum-height -- an integer with the minimum height, or nil
natural-height -- an integer with the natural height, or nil

Details

Retrieves an initial minimum and natural height of the cell area.

The area argument will store some geometrical information in context along the way, when requesting sizes over an arbitrary number of rows, its not important to check the minimum-height and natural-height of this call but rather to consult the gtk-cell-area-context-preferred-height function after a series of requests.
 

See also

2021-12-20