IconView.getItemAtPos

Gets the path and cell for the icon at the given position.

class IconView
bool
getItemAtPos
(
int x
,
int y
,,)

Parameters

x int

The x position to be identified

y int

The y position to be identified

path TreePath

Return location for the path, or %NULL

cell CellRenderer

Return location for the renderer responsible for the cell at (@x, @y), or %NULL

Return Value

Type: bool

%TRUE if an item exists at the specified position

Meta