|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
OpenerView
OpenerView[{expr1, expr2}]
represents an object which displays as an opener, together with
if the opener is closed, and both
and
if it is open.
OpenerView[{expr1, expr2}, state]
specifies the state of the opener, with False being closed, and True being open.
Details and OptionsDetails and Options
- The opener displays as
when closed, and
when opened. - The opener is displayed at the top left, outside the
. - OpenerView[list, Dynamic[state]] takes the opener state to be specified by the dynamically updated current value of state, with the value of state being reset if the opener is clicked.
- The following options can be given:
-
Alignment Automatic how to align objects in the display area Background None background color to use BaselinePosition Automatic alignment relative to surrounding text BaseStyle {} base style specifications for the opener view Enabled Automatic whether controls are enabled FrameMargins Automatic margins inside the overall frame ImageMargins 0 margins around the display area ImageSize Automatic the overall image size for the display area - With the default option setting ImageSize->Automatic, OpenerView leaves space only for the
currently being displayed. ImageSize->All leaves space for the largest of the
, so that its overall size does not change. - With the default setting BaselinePosition->Automatic, the baseline of the OpenerView is taken to be the baseline of the opener icon.
- The settings for BaseStyle are appended to the default style typically given by the
style in the current stylesheet.
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
