Run when the mouse cursor leaves the frame's interactive area. Note that a frame's mouse-interactive area can be changed via its :SetHitRectInsets()
method.
Signature:
OnLeave(self,
motion)
Arguments:
self
- Reference to the widget for which the script was run (frame
)motion
- True if the handler is being run due to actual mouse movement; false if the cursor left the frame due to other circumstances (such as the frame being created underneath the cursor) (boolean
)