RSS

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

OnMouseDown

[ править ]
Run when a mouse button is pressed while the cursor is over the frame.
[клоны]
Run when a mouse button is pressed while the cursor is over the frame. For further details, see the example under OnClick.


Signature:
Code
OnMouseDown(self, "button")

Arguments:
  • self - Reference to the widget for which the script was run (frame)
  • button - Name of the mouse button responsible for the click action (string)
      Button4
    • Button5
    • LeftButton
    • MiddleButton
    • RightButton

Доступна для: 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/OnMouseDown