RSS

Пятница, 29.03.2024, 15:59
Главная » WoW API » API Виджеты » Фрейм »

TabardModel:RegisterForDrag(...)

[ править ]
Registers the frame for dragging.
[клоны]
Registers the frame for dragging. Once the frame is registered for dragging (and mouse enabled), the frame's OnDragStart and OnDragStop scripts will be called when the specified mouse button(s) are clicked and dragged starting from within the frame (or its mouse-interactive area).


Signature:
Code
Frame:RegisterForDrag(...)

Arguments:
  • ... - A list of strings, each the name of a mouse button for which the frame should respond to drag actions (list)
      Button4
    • Button5
    • LeftButton
    • MiddleButton
    • RightButton

Также смотрите: Фрейм
Ссылки: http://wowprogramming.com/docs/widgets/Frame/RegisterForDrag