IconView.getPathAtPos

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.

class IconView
getPathAtPos
(
int x
,
int y
)

Parameters

x int

The x position to be identified

y int

The y position to be identified

Return Value

Type: gtk.tree_path.TreePath

The #GtkTreePath corresponding to the icon or null if no icon exists at that position.