This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

PaneSelector

PaneSelector[{v1->expr1, v2->expr2, ...}, v]
represents an object that displays as a pane containing the expri for which vi is equal to v.
  • PaneSelector[list, Dynamic[v]] takes the pane being displayed to be determined by the dynamically updated current value of v.
  • If v is not equal to any of the vi, then PaneSelector is displayed as a blank area.
  • The following options can be given:
Alignment{Automatic,Automatic}how to align objects in the display area
BaselinePositionAutomaticwhat to align with a surrounding text baseline
BaseStyle{}base style specifications for the displayed object
FrameMarginsAutomaticmargins to leave inside the overall frame
ImageMargins0margins around the image of the displayed object
ImageSizeAllthe overall image size for the displayed object
  • With the default option setting ImageSize->All, PaneSelector always leaves space for the largest of the expri to be displayed, so that its overall size does not change.
  • The settings for BaseStyle are appended to the default style typically given by the "PaneSelector" style in the current stylesheet.
New in 6