RSS

Среда, 24.04.2024, 15:44
Главная » WoW API » API Виджеты » Кнопка »

Button:RegisterForClicks(...)

[ править ]
Registers a button to receive mouse clicks.
[клоны]
Registers a button to receive mouse clicks.


Signature:
Code
Button:RegisterForClicks(...)

Arguments:
  • ... - A list of strings, each the combination of a button name and click action for which the button's click-related script handlers should be run. Possible values: (list)
      Button4Down
    • Button4Up
    • Button5Down
    • Button5Up
    • LeftButtonDown
    • LeftButtonUp
    • MiddleButtonDown
    • MiddleButtonUp
    • RightButtonDown
    • RightButtonUp
    • AnyDown - Responds to the down action of any mouse button
    • AnyUp - Responds to the up action of any mouse button

Также смотрите: Кнопка
Ссылки: http://wowprogramming.com/docs/widgets/Button/RegisterForClicks