XML/Button

<Button> (inherits from , creates a ) responds to .
 <Button text="" registerForClicks="" motionScriptsWhileDisabled="">
 	<NormalTexture />
 	<PushedTexture />
 	<DisabledTexture />
 	<HighlightTexture />
 	<NormalColor />
 	<HighlightColor />
 	<DisabledColor />
 	<ButtonText />
 	<PushedTextOffset />
 	<NormalFont style="" />
 	<HighlightFont style="" />
 	<DisabledFont style="" />
 </Button>
== Attributes ==
:text () - Displays a .
:registerForClicks () - Controls which will trigger .
:motionScriptsWhileDisabled () - Enables and while .
== Child elements ==
<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 ()
== Example ==
Included in Backdrop
<Button name="$parentButtonClose" inherits="OptionsButtonTemplate" text="Close">
	<Anchors>
		<Anchor point="BOTTOMRIGHT">
			<Offset>
				<AbsDimension x="-12" y="16"/>
			</Offset>
		</Anchor>
	</Anchors>
	<Scripts>
		<OnClick> autoInviteMainConfigFrame:Hide(); </OnClick>
	</Scripts>
</Button>
== Patch changes ==
* 
* 
* 
* 
== References ==