RSS

Суббота, 21.12.2024, 20:07
Главная » WoW API » Событий API Виджетов »

OnLeave

[ править ]
Run when the mouse cursor leaves the frame's interactive area.
[клоны]
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:
Code
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)

Доступна для: Frame, ArchaeologyDigSiteFrame, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, Model, MovieFrame, QuestPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, PlayerModel, DressUpModel, TabardModel

Также смотрите: Событий API Виджетов
Ссылки: http://wowprogramming.com/docs/scripts/OnLeave