CellArea.requestRenderer

This is a convenience function for #GtkCellArea implementations to request size for cell renderers. It’s important to use this function to request size and then use gtk_cell_area_inner_cell_area() at render and event time since this function will add padding around the cell for focus painting.

class CellArea
void
requestRenderer

Parameters

renderer CellRenderer

the #GtkCellRenderer to request size for

orientation GtkOrientation

the #GtkOrientation in which to request size

widget Widget

the #GtkWidget that @area is rendering onto

forSize int

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

minimumSize int

location to store the minimum size, or %NULL

naturalSize int

location to store the natural size, or %NULL

Meta