IconView.getItemAtPos

bool getItemAtPos(int x, int y, out gtk.tree_path.TreePath path, out gtk.cell_renderer.CellRenderer cell)

Finds the path at the point (x, y), relative to bin_window coordinates. In contrast to [gtk.icon_view.IconView.getPathAtPos], this function also obtains the cell at the specified position. The returned path should be freed with [gtk.tree_path.TreePath.free]. See [gtk.icon_view.IconView.convertWidgetToBinWindowCoords] for converting widget coordinates to bin_window coordinates.

Parameters

xThe x position to be identified
yThe y position to be identified
pathReturn location for the path, or null
cellReturn location for the renderer responsible for the cell at (x, y), or null

Returns

true if an item exists at the specified position