Return the item whose rectangle is displayed at a given point.
capi
stacked-tree-item-at-point stacked-tree x y => item
stacked-tree⇩ |
A stacked-tree. |
reals. |
item⇩ |
An object. |
The function stacked-tree-item-at-point
returns the item that is associated with the rectangle containing the point specified by x and y in stacked-tree. x and y are internal coordinates that include the scroll position, like the coordinates that are passed to the callbacks.
item is either the root of stacked-tree or one of the item-children that is returned by the item-function of stacked-tree.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27