WoW:API Button IsEnabled: Difference between revisions

m
Move page script moved page API Button IsEnabled to WoW:API Button IsEnabled without leaving a redirect
({{widgetmethod}})
m (Move page script moved page API Button IsEnabled to WoW:API Button IsEnabled without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}
{{stub/api}}
Returns whether a button is enabled or not.
isEnabled = button:IsEnabled();


Note: This function returns 0 and 1 and not true and false (as of version 1.7.0).
== Returns ==
; isEnabled : Number - 1 if the button is enabled, 0 otherwise.
 
== Notes ==
* Disabled buttons cannot be clicked.
Anonymous user