Package: gtk

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

Lambda List

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

Arguments

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

Return Value

minimum -- an integer with the minimum width
natural -- an integer with 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

#2024-5-15