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:

Introduced in 2007
 (6.0)