RSS

Суббота, 20.04.2024, 03:49
Главная » WoW API » API Виджеты » Кнопка »

CheckButton:Click("button", down)

[ править ]
Performs a (virtual) mouse click on the button.
[клоны]
Performs a (virtual) mouse click on the button. Causes any of the button's mouse click-related scripts to be run as if the button were clicked by the user.

Calling this method can result in an error if the button inherits from a secure frame template and performs protected actions.


Signature:
Code
Button:Click("button", down)

Arguments:
  • button - Name of the mouse button for the click action (string)
      Button4
    • Button5
    • LeftButton
    • MiddleButton
    • RightButton

  • down - True for a "mouse down" click action, false for "mouse up" or other click actions (boolean)

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