RSS

Воскресенье, 22.12.2024, 06:31
Главная » WoW API » API Виджеты » Кнопка »

CheckButton:SetButtonState("state", lock)

[ править ]
Sets the button's state.
[клоны]
Sets the button's state.


Signature:
Code
Button:SetButtonState("state", lock)

Arguments:
  • state - State for the button (string)
      DISABLED - Button is disabled and cannot receive user input
    • NORMAL - Button is in its normal state
    • PUSHED - Button is pushed (as during a click on the button)

  • lock - Locks the button in the given state; e.g. if NORMAL, the button cannot be clicked but remains in the NORMAL state (boolean)

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