This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

MouseAnnotation

MouseAnnotation
gives any mouse annotation associated with the expression at the current mouse position.
  • MouseAnnotation returns Null if there is no mouse annotation associated with the expression at the current mouse position.
  • MouseAnnotation yields the mouse annotation associated with the expression that would be selected if the mouse were clicked.
  • The annotation is the expression note in Annotation.
  • Dynamic gives the continually updated current mouse annotation.
If the mouse is over the graphics, MouseAnnotation will return the associated annotation:
When the mouse is over the graphics, the annotation is displayed:
Use in plots:
If the mouse is over the graphics, MouseAnnotation will return the associated annotation:
In[1]:=
Click for copyable input
Out[1]=
When the mouse is over the graphics, the annotation is displayed:
In[2]:=
Click for copyable input
Out[2]=
 
Use in plots:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Use MouseAnnotation to update the state associated with each graphic:
MouseAnnotation reveals annotations stored in other expressions:
Tooltip presents the annotated information in a popup box:
Mouseover presents the annotated information by changing the displayed form:
New in 6