Gtk.CellArea.prototype.get_cell_at_position

function get_cell_at_position(context:Gtk.CellAreaContext, widget:Gtk.Widget, cell_area:Gdk.Rectangle, x:Number, y:Number):Gtk.CellRenderer {
    // Gjs wrapper for gtk_cell_area_get_cell_at_position()
}

Gets the Gtk.CellRenderer at x and y coordinates inside area and optionally returns the full cell allocation for it inside cell_area.

Since 3.0

context

the Gtk.CellAreaContext used to hold sizes for area.

widget

the Gtk.Widget that area is rendering on

cell_area

the whole allocated area for area in widget for this row

x

the x position

y

the y position

Returns

the Gtk.CellRenderer at x and y.