Package: gtk

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

Lambda List

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

Syntax

(gtk:cell-area-context-preferred-width-for-height context height) => minimum-width, natural-width

Arguments

context -- a gtk:cell-area-context object
height -- an integer for a proposed height for allocation
minimum-width -- an integer for the minimum width, or nil
natural-width -- an integer for the natural width, or nil

Details

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

See also

#2025-07-14