Package: gtk

Function gtk:cell-area-context-preferred-height-for-width

Lambda List

gtk:cell-area-context-preferred-height-for-width (context width)

Arguments

context -- a gtk:cell-area-context object
width -- an integer with a proposed width for allocation

Return Value

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

Details

Gets the accumulative preferred height for width for all rows which have been requested for the same said width with this context. After the gtk:cell-area-context-reset function is called and/or before ever requesting the size of a cell area, the returned values are -1.

Warning

The gtk:cell-area-context implementation is deprecated since 4.10. This object will be removed in GTK 5.
 

See also

#2024-2-21