Gtk.CellArea.prototype.request_renderer

function request_renderer(renderer:Gtk.CellRenderer, orientation:Gtk.Orientation, widget:Gtk.Widget, for_size:Number):void {
    // Gjs wrapper for gtk_cell_area_request_renderer()
}

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 Gtk.CellArea.prototype.inner_cell_area at render and event time since this function will add padding around the cell for focus painting.

Since 3.0

renderer

the Gtk.CellRenderer to request size for

orientation

the Gtk.Orientation in which to request size

widget

the Gtk.Widget that area 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.