Widget API: CheckButton:GetChecked

Revision as of 04:45, 15 August 2023 by Move page script (talk) (Move page script moved page API CheckButton GetChecked to API CheckButton GetChecked without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget API ← CheckButton < GetChecked

Returns the current checked state of the button.

isChecked = CheckButton:GetChecked()

Arguments

none

Returns

isChecked
boolean - 'true' if the button state is checked. Default is 'false'.

Notes

  • As of 6.0.2, return value type was changed to the Lua native boolean type, instead of a WoW Flag style Boolean (1 for a checked button, nil otherwise).

See also