WoW:UIHANDLER OnLeave: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{Stub/API}})
(updated the description and added a link to the example on OnEnter page)
Line 1: Line 1:
{{Stub/API}}
{{widgethandler}}
When the mouse pointer leaves the element
 
== Description ==
 
The OnLeave handler is called when the user mouse pointer leaves the frame.
 
A typical use for this event is to hide information which was popped up in the [[UIHANDLER OnEnter|OnEnter]] handler of a frame. In combination with its opposite event handler [[UIHANDLER OnEnter|OnEnter]] it can be used for instance to implement help tooltips for frames or frame widgets.
 
== Arguments ==
 
No known arguments
 
== Example ==
Please go to the [[UIHANDLER OnEnter|OnEnter]] page to find a code example for how to use OnEnter and OnLeave to implement a mouseover help text for a frame.

Revision as of 18:51, 1 October 2007

Widget handlers < OnLeave

Description

The OnLeave handler is called when the user mouse pointer leaves the frame.

A typical use for this event is to hide information which was popped up in the OnEnter handler of a frame. In combination with its opposite event handler OnEnter it can be used for instance to implement help tooltips for frames or frame widgets.

Arguments

No known arguments

Example

Please go to the OnEnter page to find a code example for how to use OnEnter and OnLeave to implement a mouseover help text for a frame.