Package: gtk
Function gtk:cell-area-preferred-width-for-height
Lambda Listgtk:cell-area-preferred-width-for-height (area context widget height) ArgumentsReturn Value minimum -- an integer with the minimum width, or nil natural -- an integer with the natural width, or nil Details
Retrieves a minimum and natural width of the cell area if it would be given
the specified height. The area argument stores some geometrical information in context along the way while calling the gtk:cell-area-preferred-height function.
It is important to perform a series of the gtk:cell-area-preferred-height function requests with context first and then call the gtk:cell-area-preferred-width-for-height
function on each cell area individually to get the height for width of each
fully requested row. If at some point, the height of a single row changes, it should be requested with the gtk:cell-area-preferred-height function again and then the full height of the requested rows checked again with the gtk:cell-area-context-preferred-height function. Warning | See also |
#2024-7-7