request_renderer


Description:

[ Version ( since = "3.0" ) ]
public void request_renderer (CellRenderer renderer, Orientation orientation, Widget widget, int for_size, out int minimum_size, out int natural_size)

This is a convenience function for CellArea implementations to request size for cell renderers.

It’s important to use this function to request size and then use inner_cell_area at render and event time since this function will add padding around the cell for focus painting.

Parameters:

this

a CellArea

renderer

the CellRenderer to request size for

orientation

the Orientation in which to request size

widget

the Widget that this is rendering onto

for_size

the allocation contextual size to request for, or -1 if the base request for the orientation is to be returned.

minimum_size

location to store the minimum size, or null

natural_size

location to store the natural size, or null




2022 vala-language.org