Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!


From Wowpedia
Jump to: navigation, search

Derived from: Button

Elements: CheckedTexture, DisabledCheckedTexture

Attributes: checked

Note: For checkbuttons, setting the label of the checkbutton works differently from normal buttons. Using MyCheckButton:SetText("monkey"); will not give you a visible result. Instead, you need to address the text property of the checkbuttons invisible FontString frame. The FontString frame is named "<checkButtonName>Text", so to address it, use the following lua code: getglobal(MyCheckButton:GetName() .. "Text"):SetText("Monkey");


Included in Backdrop

<CheckButton name="$parentCheckButton" inherits="OptionsCheckButtonTemplate" checked="true">
		<Anchor point="LEFT">
				<AbsDimension x="20" y="0"></AbsDimension>