RSS

Среда, 01.02.2023, 22:55
Главная » WoW API » Событий API Виджетов »

OnDoubleClick

[ править ]
Run when the button is double-clicked.
[клоны]
Run when the button is double-clicked. Run if the mouse button is clicked twice within 0.3 seconds. (The PreClick, OnClick, and PostClick handlers are run for the first click but not the second.)


Signature:
Code
OnDoubleClick(self, "button")

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

Доступна для: Button, CheckButton

Также смотрите: Событий API Виджетов
Ссылки: http://wowprogramming.com/docs/scripts/OnDoubleClick