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

class CellArea


renderer CellRenderer

the gtk.CellRenderer to request size for

orientation GtkOrientation

the GtkOrientation in which to request size

widget Widget

the gtk.Widget 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