Mathematica 9 is now available

How to Create Buttons

P.J. Hinton
Mathematica Programming Group
Wolfram Research, Inc.

Talk given on Friday, October 22, 1999, at the 1999 Mathematica Developer Conference in Champaign, Illinois.

Buttons provide a means of creating highly interactive notebooks; however, writing your own buttons to perform nonstandard tasks can be frustrating. This talk will discuss buttons from a fundamental viewpoint and demonstrate how to create and test them. The audience is assumed to have a basic understanding of the box expressions used in Mathematica's math editing environment, notebook manipulation commands, and pure functions.

Typesetting Structure

Creating a Button

Controlling Button Behavior

Controlling Button Appearance

Reusing Code

Examples