Arbortext Command Language > Callbacks > doc_add_callback > tooltip Callback Type
  
tooltip Callback Type
Function prototype:
function funcname (doc, oid, win, str)
tooltip is called when a tooltip is about to be raised over a Arbortext Editor window and allows the tooltip to be suppressed or changed.
Arguments
doc the identifier of the document containing the element under the cursor.
oid is the object identifier of the element under the cursor.
win is the window identifier over which the tooltip is to be raised.
str is the text that will be shown in the tooltip.
If an empty string is returned, the tooltip will not be raised. Otherwise, the text returned will be shown as the tooltip.