All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

stacked-tree-item-at-point Function

Summary

Return the item whose rectangle is displayed at a given point.

Package

capi

Signature

stacked-tree-item-at-point stacked-tree x y => item

Arguments
stacked-tree
x, y
reals.
Values
item
An object.
Description

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.

See also

stacked-tree


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42