Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

XML/CheckButton

Last wiki revision 2021-08-22

<CheckButton> (inherits from, creates a ) adds a 'checked' state. <CheckButton> <CheckedTexture /> <DisabledCheckedTexture /> </CheckButton>

  • checked - True shows the texture; false hides it.

<CheckedTexture> appears when checked; inherits.

<DisabledCheckedTexture> appears when checked and ; inherits.

  • 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:

Included in Backdrop

Source

https://warcraft.wiki.gg/wiki/XML/CheckButton · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.