Package: gtk

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

Lambda List

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

Syntax

(gtk:icon-view view x y) => path, renderer

Arguments

view -- a gtk:icon-view widget
x -- an integer for the x position to be identified
y -- an integer for the y position to be identified
path -- a gtk:tree-path instance, or nil
renderer -- a 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 GDK window coordinates. In contrast to the gtk:icon-view-path-at-pos function, this function also obtains the cell at the specified position. See the gtk:icon-view-convert-widget-to-bin-window-coords function for converting widget coordinates to GDK window coordinates.
 

See also

#2025-07-06