Gtk.CellArea.prototype.get_cell_allocation
function get_cell_allocation(context:Gtk.CellAreaContext, widget:Gtk.Widget, renderer:Gtk.CellRenderer, cell_area:Gdk.Rectangle):void { // Gjs wrapper for gtk_cell_area_get_cell_allocation() }
Derives the allocation of renderer inside area if area were to be renderered in cell_area.
Since 3.0
- context
the Gtk.CellAreaContext used to hold sizes for area.
- widget
the Gtk.Widget that area is rendering on
- renderer
the Gtk.CellRenderer to get the allocation for
- cell_area
the whole allocated area for area in widget for this row