Gtk.IconView.prototype.get_cell_rect
function get_cell_rect(path:Gtk.TreePath, cell:Gtk.CellRenderer):Boolean { // Gjs wrapper for gtk_icon_view_get_cell_rect() }
Fills the bounding rectangle in widget coordinates for the cell specified by path and cell. If cell is null the main cell area is used.
This function is only valid if icon_view is realized.
Since 3.6
- path
- cell
a Gtk.CellRenderer or null
- Returns
false if there is no such item, true otherwise