Learn R Programming

RGtk2 (version 2.20.31)

gtkIconViewGetItemAtPos: gtkIconViewGetItemAtPos

Description

Finds the path at the point (x, y), relative to bin_window coordinates. In contrast to gtkIconViewGetPathAtPos, this function also obtains the cell at the specified position. See gtkIconViewConvertWidgetToBinWindowCoords for converting widget coordinates to bin_window coordinates.

Usage

gtkIconViewGetItemAtPos(object, x, y)

Arguments

object
x
The x position to be identified
y
The y position to be identified

Value

A list containing the following elements:
retval
[logical] TRUE if an item exists at the specified position
path
Return location for the path, or NULL. [ allow-none ]
cell
Return location for the renderer responsible for the cell at (x, y), or NULL

Details

Since 2.8