Skip to content

LocatorBox ​

A point handle you drag inside a figure: Locator lowers to it.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageLocatorBox✓
LocatorBox(binding, domain?, options)A point handle you drag inside a figure: Locator lowers to it.
Typed signatures
TypePackageApplies
(expression, expression*) -> boxesboxesalways

Domain: Boxes

Details
  • Wolfram's LocatorBox holds the point; here the binding is Dynamic((p, (x, y))), and there is no domain: the figure it sits in gives the corners.
  • Its intent is planar: a host without a figure to drag in draws the point's coordinates.
  • Wolfram's Locator[Dynamic[p]] boxes as RowBox[{"Locator", ...}], with no LocatorBox head of its own to compare.

Examples

Basic #

a box is inert: it evaluates to itself

live ↗
InLocatorBox(Dynamic(p))\mathrm{LocatorBox}(\mathrm{Dynamic}(p))OutLocatorBox(Dynamic(p))\mathrm{LocatorBox}(\mathrm{Dynamic}(p))
About
Examples1
Checked againstWolfram Language 1 agree
CrosswalkWolfram Language

See also: Slider2DBox, GraphicsBox, DynamicBox