WoW:API CheckButton GetChecked: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{widgetmethod}})
(Updated to match the current API boilerplate.)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}
{{stub/api}}


Returns the current state of the button. Will return nil if the button is unchecked, or 1 if the button is checked.
 
Returns the current checked state of the button.  
isChecked = CheckButton:GetChecked()
 
 
== Arguments ==
None
 
 
== Returns ==
:; isChecked : [[Boolean]] - Whether the check button is checked.

Revision as of 14:18, 27 June 2007

Widget API ← CheckButton < GetChecked


Returns the current checked state of the button.

isChecked = CheckButton:GetChecked()


Arguments

None


Returns

isChecked
Boolean - Whether the check button is checked.