Package: gtk

Function gtk-cell-area-preferred-width

Lambda List

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

Arguments

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

Return Value

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

Details

Retrieves an initial minimum and natural width 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-width and natural-width of this call but rather to consult the gtk-cell-area-context-preferred-width function after a series of requests.
 

See also

2021-12-20