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 -- 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

#2024-3-24