Package: gtk

Function gtk-icon-view-item-at-pos

Lambda List

gtk-icon-view-item-at-pos (view x y)

Arguments

view -- a gtk-icon-view widget
x -- an integer with the x position to be identified
y -- an integer with the y position to be identified

Return Value

path -- the gtk-tree-path instance, or nil
cell -- the gtk-cell-renderer object responsible for the cell at (x, y), or nil if no item exists at the specified position

Details

Finds the path at the point (x, y), relative to the window coordinates. In contrast to the function gtk-icon-view-path-at-pos, this function also obtains the cell at the specified position. See the function gtk-icon-view-convert-widget-to-bin-window-coords for converting widget coordinates to bin window coordinates.
 

See also

2021-3-9