TooltipStyle

TooltipStyle
is an option for tooltips that specifies the style to use in displaying their elements.

DetailsDetails

  • Any style specification used in Style can be used as a setting for TooltipStyle.
  • 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 TooltipStyle->spec is effectively equivalent to replacing the elements of a formatting or related construct by Style[label, spec].
  • Any outside styles not explicitly overridden by settings in TooltipStyle will still be used.
  • TooltipStyle is effectively applied after DefaultTooltipStyle.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Use cell-level options to change the appearance of the entire tooltip:

In[1]:=
Click for copyable input
Out[1]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »