DefaultTooltipStyle

DefaultTooltipStyle
is a low-level option for tooltips that specifies the default style to use in displaying their elements.

DetailsDetails

  • DefaultTooltipStyle->style specifies that the elements should effectively be replaced by Style[label, style].
  • TooltipStyle is applied after DefaultTooltipStyle.
  • The typical default value is DefaultTooltipStyle->"TooltipLabel", which references a named style in the stylesheet Core.nb. This style mimics the default appearance of system tooltips.
  • DefaultTooltipStyle->{} introduces no default style specifications, thereby effectively allowing all outside style specifications in.
  • DefaultTooltipStyle->style makes any specifications in style override corresponding outside style specifications.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

The current setting of DefaultTooltipStyle:

In[1]:=
Click for copyable input
Out[1]=

Create a tooltip that does not look like a system tooltip:

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