WoW:API Button IsEnabled: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Move page script moved page API Button IsEnabled to API Button IsEnabled without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} | ||
Returns whether a button is enabled or not. | |||
isEnabled = button:IsEnabled(); | |||
== Returns == | |||
; isEnabled : Number - 1 if the button is enabled, 0 otherwise. | |||
== Notes == | |||
* Disabled buttons cannot be clicked. | |||
Latest revision as of 04:45, 15 August 2023
← Widget API ← Button < IsEnabled
Returns whether a button is enabled or not.
isEnabled = button:IsEnabled();
Returns
- isEnabled
- Number - 1 if the button is enabled, 0 otherwise.
Notes
- Disabled buttons cannot be clicked.