RSS

Пятница, 26.04.2024, 00:01
Главная » WoW API » Событий API Виджетов »

OnEnter

[ править ]
Run when the mouse cursor enters the frame's interactive area.
[клоны]
Run when the mouse cursor enters the frame's interactive area. Note that a frame's mouse-interactive area can be changed via its :SetHitRectInsets() method.


Signature:
Code
OnEnter(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 entered 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/OnEnter