Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

XML/Button

Last wiki revision 2021-08-22

<Button> (inherits from, creates a ) responds to. &lt;Button text="" registerForClicks="" motionScriptsWhileDisabled=""&gt; &lt;NormalTexture /&gt; &lt;PushedTexture /&gt; &lt;DisabledTexture /&gt; &lt;HighlightTexture /&gt; &lt;NormalColor /&gt; &lt;HighlightColor /&gt; &lt;DisabledColor /&gt; &lt;ButtonText /&gt; &lt;PushedTextOffset /&gt; &lt;NormalFont style="" /&gt; &lt;HighlightFont style="" /&gt; &lt;DisabledFont style="" /&gt; &lt;/Button&gt;

  • text - Displays a.
  • registerForClicks - Controls which will trigger.
  • motionScriptsWhileDisabled - Enables and while.

<NormalTexture>, <PushedTexture>, <DisabledTexture>, and <HighlightTexture> appear by state; inherit.

<NormalColor>, <HighlightColor> and <DisabledColor>, colors the label by state; inherit.

<ButtonText> controls the label; inherits.

<PushedTextOffset> moves the label when pushed; inherits.

<NormalFont>, <HighlightFont>, and <DisabledFont> styles the label by state.

  • style

Included in Backdrop

Source

https://warcraft.wiki.gg/wiki/XML/Button · 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.