ShowGroupOpener

ShowGroupOpener

is an option for cells that specifies whether an opener icon is displayed next to the leading cell in a cell group to indicate whether the cell group is open or closed.

Details

  • With the default setting ShowGroupOpener->False, no icon appears next to the leading cell in a cell group.
  • With the default setting ShowGroupOpener->None, no icon appears next to the leading cell in a cell group.
  • ShowGroupOpener can take the following values:
  • Falseequivalent to None
    Nonedo not show an opener
    Trueequivalent to "OutsideFrame"
    "Inline"show the opener inline with the cell's contents, at the end of the final line
    "InsideFrame"show the opener outside of the cell's contents but inside the CellFrame
    "OutsideFrame"show the opener outside of the cell's contents and CellFrame
  • With the setting ShowGroupOpener->"OutsideFrame", a triangular opener icon is displayed to the left of the leading cell. Clicking the icon opens or closes the cell group. The triangle points to the right when the cell group is closed and down when the cell group is open.
  • With the setting ShowGroupOpener->"Inline", a closed cell group will always show an opener, but an open cell group will only show its opener if the group was opened using the opener.

Examples

Basic Examples  (1)

Place an opener icon on the first cell of a group:

In[1]:=
Click for copyable input

Clicking the icon toggles the group between open and closed:

Introduced in 2007
(6.0)
|
Updated in 2019
(12.0)