WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsITooltipListener
| IID: | 44b78386-1dd2-11b2-9ad2-e4eee2ca1916 |
| Inherits From: | nsISupports |
| Status: | FROZEN |
An optional interface for embedding clients wishing to receive notifications for when a tooltip should be displayed or removed. The embedder implements this interface on the web browser chrome object associated with the window that notifications are required for.
Methods
void onHideTooltip ( )
void onShowTooltip ( PRInt32 XCoords , PRInt32 YCoords , PRUnichar* tipText )
Called when the tooltip should be hidden, either because the pointer has moved or the tooltip has timed out.
void onShowTooltip ( PRInt32 XCoords , PRInt32 YCoords , PRUnichar* tipText )
Called when a tooltip should be displayed.
- Arguments:
- XCoords: The tooltip left edge X coordinate.
- YCoords: The tooltip top edge Y coordinate.
- tipText: The text to display in the tooltip, typically obtained from the TITLE attribute of the node (or containing parent) over which the pointer has been positioned.
- Returns:
NS_OKif the tooltip was displayed.
Reference documentation is generated from Mozilla's source.
