children-on ( rect gadget -- seq )
Factor handbook » UI framework » Building user interfaces » Gadget geometry

Prev:pick-up ( point gadget -- child/f )


Vocabulary
ui.gadgets

Inputs
recta rect
gadgeta gadget


Outputs
seqa sequence of gadgets


Generic word contract
Outputs a sequence of gadgets which potentially intersect a rectangle in the coordinate system of the gadget.

Notes
This does not have to be an accurate intersection test, and simply returning children>> is a valid implementation. However, an accurate intersection test reduces the amount of work done when drawing this gadget if it is partially clipped and not all children are visible.

Definition

GENERIC: children-on ( rect gadget -- seq )


Methods