WoW:API CheckButton GetChecked: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated to match the current API boilerplate.)
(→‎Returns: - Not actually a boolean)
Line 11: Line 11:


== Returns ==
== Returns ==
:; isChecked : [[Boolean]] - Whether the check button is checked.
:; isChecked : Flag - 1 if the check button is checked, or nil otherwise.

Revision as of 20:47, 27 August 2008

Widget API ← CheckButton < GetChecked


Returns the current checked state of the button.

isChecked = CheckButton:GetChecked()


Arguments

None


Returns

isChecked
Flag - 1 if the check button is checked, or nil otherwise.