is an option to constructs such as Inset, Graphics, and GraphicsGroup that specifies whether and how content within them should be selectable.
ContentSelectable
is an option to constructs such as Inset, Graphics, and GraphicsGroup that specifies whether and how content within them should be selectable.
Details
- Possible settings are:
-
True single clicks immediately select content objects False content objects cannot be selected Automatic double‐click allows content selection (default) - Even with the option ContentSelectable->False, a complete graphics object is itself selectable.
Examples
open all close allBasic Examples (3)
Allow the individual graphics objects to be selectable by a single click:
Graphics[{Pink, Disk[], Rectangle[{2, -1}, {4, 1}]}, ContentSelectable -> True]No individual object is selectable; the whole graphic appears as one object:
Graphics[{Pink, Disk[], Rectangle[{2, -1}, {4, 1}]}, ContentSelectable -> False]The first click selects the whole graphic, and subsequent clicks select individual objects:
Graphics[{Pink, Disk[], Rectangle[{2, -1}, {4, 1}]}, ContentSelectable -> Automatic]Scope (2)
No individual object is selectable; the graphics complex appears as one object:
Graphics[{Blue, Disk[{-1.5, .5}, .5], Pink, GraphicsComplex[{{0, .5}, {1, 0}}, {Disk[1, .5], Rectangle[2]}]}, ContentSelectable -> False]No individual object is selectable; the graphics group appears as one object:
Graphics[{Blue, Disk[{-3, 0}], GraphicsGroup[{Pink, Disk[], Rectangle[{2, -1}, {4, 1}]}, ContentSelectable -> False]}]See Also
History
Text
Wolfram Research (2007), ContentSelectable, Wolfram Language function, https://reference.wolfram.com/language/ref/ContentSelectable.html.
CMS
Wolfram Language. 2007. "ContentSelectable." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ContentSelectable.html.
APA
Wolfram Language. (2007). ContentSelectable. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ContentSelectable.html
BibTeX
@misc{reference.wolfram_2026_contentselectable, author="Wolfram Research", title="{ContentSelectable}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ContentSelectable.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_contentselectable, organization={Wolfram Research}, title={ContentSelectable}, year={2007}, url={https://reference.wolfram.com/language/ref/ContentSelectable.html}, note=[Accessed: 13-June-2026]}