4
$\begingroup$

I am wondering how I can link a button to the play button shown if you expand "Show Animation Control",

So something like,

Manipulate[x, {x, 0, 1}, Row[{Button["Play", ImageSize -> 80]}]]

But where pushing the button "plays" x

$\endgroup$
  • $\begingroup$ Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Read the FAQs! 3) When you see good Q&A, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. ALSO, remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign` $\endgroup$ – Vitaliy Kaurov Sep 9 '12 at 8:46
4
$\begingroup$

A natural solution is something like this:

Manipulate[x, {x, 0, 1}, {{x, 0, ""}, 0, 1, Trigger, 
           AppearanceElements -> "PlayPauseButton"}]

enter image description here

or like this:

Manipulate[x, {x, 0, 1, Animator, AppearanceElements -> 
 {"ProgressSlider", "PlayPauseButton"}, AnimationRunning -> False}]

enter image description here

where AppearanceElements control what type of buttons you can add.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.