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