IconView.getPathAtPos

gtk.tree_path.TreePath getPathAtPos(int x, int y)

Finds the path at the point (x, y), relative to bin_window coordinates. See [gtk.icon_view.IconView.getItemAtPos], if you are also interested in the cell at the specified position. 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

Returns

The #GtkTreePath corresponding

to the icon or null if no icon exists at that position.