Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

share|improve this question
    
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` –  Vitaliy Kaurov Sep 9 '12 at 8:46

1 Answer 1

up vote 3 down vote accepted

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.

share|improve this answer
    
Thanks @Vitaliy, looks good. –  ShaunH Sep 9 '12 at 11:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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