Opener

Opener[x]

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

Opener[Dynamic[x]]

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)

Dynamically change a variable:

Scope  (1)

Use Opener with PaneSelector:

Options  (8)

Appearance  (1)

Change the appearance:

AutoAction  (2)

By default the opener changes only when you click it:

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

Background  (1)

Change the background color:

BaselinePosition  (1)

Align with surrounding text:

Enabled  (2)

By default Opener is enabled:

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

ImageMargins  (1)

Include margins around the Opener:

Applications  (1)

Use Opener with PaneSelector for hiding and exposing additional controls:

Properties & Relations  (2)

Opener is a special case of Toggler:

OpenerView is a combination of Opener and PaneSelector:

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.

CMS

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2023_opener, organization={Wolfram Research}, title={Opener}, year={2007}, url={https://reference.wolfram.com/language/ref/Opener.html}, note=[Accessed: 19-April-2024 ]}