DynamicWrapper
DynamicWrapper[e,expr]
represents an object that displays as e, but dynamically updates the expression expr whenever that object is visible on screen.
Details and Options

- The displayed e is not treated as dynamic, although it can contain explicit Dynamic expressions.
- The expression expr is not displayed anywhere.
- DynamicWrapper has the attribute HoldRest.
- DynamicWrapper takes the same options as Dynamic.
-
BaseStyle {} base style specifications for the displayed object Deinitialization None an expression to evaluate when the Dynamic can no longer be displayed Evaluator Automatic the kernel to use for evaluations Initialization None an expression to evaluate when the Dynamic is first displayed ShrinkingDelay 0. how long to delay before shrinking if the displayed object gets smaller SynchronousUpdating True whether to evaluate contents synchronously TrackedSymbols All symbols whose changes trigger an update UpdateInterval Infinity time interval at which to do updates
List of all options

Examples
open allclose allBasic Examples (1)
Scope (3)
The same constructs which control evaluation in Dynamic work in DynamicWrapper:
The first argument can contain a Dynamic, which may interact with the DynamicWrapper evaluation:
Unlike Dynamic, DynamicWrapper cannot be used as an argument to a control:
Properties & Relations (3)
As with Dynamic, a DynamicWrapper will not evaluate its contents if it is not displayed:
CompoundExpression in a Dynamic can be used to evaluate multiple expressions:
DynamicWrapper instead resolves its first argument at the time is pressed:
Initialization sets an evaluation that will only happen a single time at Dynamic creation:
DynamicWrapper sets an evaluation that may happen repeatedly:
Possible Issues (1)
DynamicWrapper will only update its computation while being displayed:
Text
Wolfram Research (2010), DynamicWrapper, Wolfram Language function, https://reference.wolfram.com/language/ref/DynamicWrapper.html.
CMS
Wolfram Language. 2010. "DynamicWrapper." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DynamicWrapper.html.
APA
Wolfram Language. (2010). DynamicWrapper. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DynamicWrapper.html