MenuStyle

MenuStyle

is an option for menu-generating constructs that specifies the style to use in displaying menu items.

Details

  • Any style specification used in Style can be used as a setting for MenuStyle.
  • Typical forms of settings include:
  • "style"a named style from the current stylesheets
    {opt1->val1,}a list of explicit option settings
    {"style",opt1->val1,}a named style modified by option settings
  • Color directives such as Red, as well as text specifications such as Bold or Small, can be given in place of options, just as in Style.
  • Giving the option setting MenuStyle->spec is effectively equivalent to replacing the menu elements of a formatting or related construct by Style[label,spec].
  • Any outside styles not explicitly overridden by settings in MenuStyle will still be used.
  • MenuStyle is effectively applied after DefaultMenuStyle.

Examples

open allclose all

Basic Examples  (1)

Specify overall style of all the menu-like elements:

MenuStyle can be used to specify styles that should not be applied to the menu's base appearance:

Scope  (1)

MenuStyle affects the appearance of menus, but does not change their actions:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_menustyle, author="Wolfram Research", title="{MenuStyle}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/MenuStyle.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_menustyle, organization={Wolfram Research}, title={MenuStyle}, year={2010}, url={https://reference.wolfram.com/language/ref/MenuStyle.html}, note=[Accessed: 22-December-2024 ]}