Package: gtk

Function gtk:cell-renderer-preferred-width-for-height

Lambda List

gtk:cell-renderer-preferred-width-for-height (cell widget height)

Syntax

(gtk:cell-renderer-preferred-width-for-height cell widget height) => minimum, natural

Arguments

cell -- a gtk:cell-renderer object
widget -- a gtk:widget object this cell renderer will be rendering to
height -- an integer for the size which is available for allocation
minimum -- an integer for the minimum width
natural -- an integer for the preferred width

Details

Retreives the minimum and natural width of a cell renderer if it were rendered to widget with the specified height.

Warning

The gtk:cell-renderer implementation is deprecated since 4.10. List views use widgets for displaying their contents.
 

See also

#2025-07-22