Package: gtk

Function gtk-cell-area-request-renderer

Lambda List

gtk-cell-area-request-renderer (area renderer orientation widget for-size)

Arguments

area -- a gtk-cell-area object
renderer -- a gtk-cell-renderer object to request size for
orientation -- a value of the gtk-orientation enumeration in which to request size
widget -- a gkt-widget object that area is rendering onto
for-size -- an integer with the allocation contextual size to request for, or -1 if the base request for the orientation is to be returned

Return Value

minimum-size -- an integer with the minimum size, or nil
natural-size -- an integer with the natural size, or nil

Details

This is a convenience function for gtk-cell-area implementations to request size for cell renderers. It is important to use this function to request size and then use the gtk-cell-area-inner-cell-area function at render and event time since this function will add padding around the cell for focus painting.
 

See also

2021-12-20