WOLFRAM

Opener[x]

represents an opener with setting x, displayed as when x is True and when x is False.

takes the setting to be the dynamically updated current value of x, with the value of x being toggled if the opener is clicked.

Details and Options

Examples

open allclose all

Basic Examples  (1)Summary of the most common use cases

Dynamically change a variable:

Out[1]=1

Scope  (1)Survey of the scope of standard use cases

Use Opener with PaneSelector:

Out[1]=1

Options  (8)Common values & functionality for each option

Appearance  (1)

Change the appearance:

Out[1]=1
Out[2]=2

AutoAction  (2)

By default the opener changes only when you click it:

Out[1]=1

By setting AutoAction, the opener toggles as the mouse moves over the opener area:

Out[1]=1

Background  (1)

Change the background color:

Out[1]=1

BaselinePosition  (1)

Align with surrounding text:

Out[1]=1

Enabled  (2)

By default Opener is enabled:

Out[1]=1

By setting Enabled->False, the opener is disabled but visible in its current state:

Out[1]=1

ImageMargins  (1)

Include margins around the Opener:

Out[1]=1

Applications  (1)Sample problems that can be solved with this function

Use Opener with PaneSelector for hiding and exposing additional controls:

Out[1]=1

Properties & Relations  (2)Properties of the function, and connections to other functions

Opener is a special case of Toggler:

Out[2]=2
Out[3]=3

OpenerView is a combination of Opener and PaneSelector:

Out[1]=1
Out[2]=2
Wolfram Research (2007), Opener, Wolfram Language function, https://reference.wolfram.com/language/ref/Opener.html.
Wolfram Research (2007), Opener, Wolfram Language function, https://reference.wolfram.com/language/ref/Opener.html.

Text

Wolfram Research (2007), Opener, Wolfram Language function, https://reference.wolfram.com/language/ref/Opener.html.

Wolfram Research (2007), Opener, Wolfram Language function, https://reference.wolfram.com/language/ref/Opener.html.

CMS

Wolfram Language. 2007. "Opener." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Opener.html.

Wolfram Language. 2007. "Opener." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Opener.html.

APA

Wolfram Language. (2007). Opener. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Opener.html

Wolfram Language. (2007). Opener. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Opener.html

BibTeX

@misc{reference.wolfram_2025_opener, author="Wolfram Research", title="{Opener}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Opener.html}", note=[Accessed: 29-March-2025 ]}

@misc{reference.wolfram_2025_opener, author="Wolfram Research", title="{Opener}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Opener.html}", note=[Accessed: 29-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_opener, organization={Wolfram Research}, title={Opener}, year={2007}, url={https://reference.wolfram.com/language/ref/Opener.html}, note=[Accessed: 29-March-2025 ]}

@online{reference.wolfram_2025_opener, organization={Wolfram Research}, title={Opener}, year={2007}, url={https://reference.wolfram.com/language/ref/Opener.html}, note=[Accessed: 29-March-2025 ]}