WoW:API Button IsEnabled: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
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. |
Revision as of 15:16, 15 February 2010
← 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.