gtkIconViewGetItemAtPos {RGtk2}R Documentation

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 [GtkIconView] A GtkIconView.
x [integer] The x position to be identified
y [integer] The y position to be identified

Details

Since 2.8

Value

A list containing the following elements:

retval [logical] TRUE if an item exists at the specified position
path [GtkTreePath] Return location for the path, or NULL
cell [GtkCellRenderer] Return location for the renderer responsible for the cell at (x, y), or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]