DynamicSetting

DynamicSetting[e]

represents an object which displays as e, but is interpreted as the dynamically updated current value of Setting[e] if supplied as Wolfram Language input.

DynamicSetting[f,e]

displays as e, but is interpreted as f[e] if supplied as input.

Details

  • DynamicSetting[e] returns an object which remains unchanged until it is explicitly supplied as Wolfram Language input, and evaluated using , Evaluate in Place, etc.
  • In the object returned by DynamicSetting, all controls such as sliders are operable.

Examples

open allclose all

Basic Examples  (2)

Displays as a slider, but gives the slider's setting when used as input:

In[1]:=
Click for copyable input
Out[1]=

Copy the output to use as active input:

In[2]:=
Click for copyable input
Out[2]=
In[1]:=
Click for copyable input

Copy and use Evaluate in Place () to display as an actual color swatch:

In[2]:=
Click for copyable input
Out[2]=

Possible Issues  (1)

See Also

Interpretation  Setting  Dynamic  Defer  Slider  Checkbox  ColorSetter  ColorSlider  Manipulate

Tutorials

Introduced in 2007
(6.0)