WoW:API Button IsEnabled: Difference between revisions
Jump to navigation
Jump to search
(*only a note added, function description still missing*) |
m (Move page script moved page API Button IsEnabled to API Button IsEnabled without leaving a redirect) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{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.