Package: gtk

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

Lambda List

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

Syntax

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

Arguments

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

Details

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

Warning

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

See also

#2025-07-22