IconView.getPathAtPos

Finds the path at the point (x, y), relative to bin_window coordinates. See gtk_icon_view_get_item_at_pos(), if you are also interested in the cell at the specified position. See gtk_icon_view_convert_widget_to_bin_window_coords() for converting widget coordinates to bin_window coordinates. Since 2.6

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: TreePath

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

Meta