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

PaneSelector

PaneSelector
represents an object that displays as a pane containing the for which 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 , then PaneSelector is by default displayed as a blank area.
  • PaneSelector displays as def if v is not equal to any of the .
  • The following options can be given:
Alignment{Automatic,Automatic}how to align objects in the display area
BackgroundNonebackground color to use
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 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 style in the current stylesheet.
Select which pane to display:
Dynamically update the PaneSelector state:
Select which pane to display:
In[1]:=
Click for copyable input
Out[1]=
 
Dynamically update the PaneSelector state:
In[1]:=
Click for copyable input
Out[1]=
New in 6