<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="textbutton" module="max" category="U/I">
	<digest>
		Button with text
	</digest>
	<description />
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			U/I
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Messages in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Bang when Mouse Up
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				Item Symbol
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="2" type="OUTLET_TYPE">
			<digest>
				Idle Mouse
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette action="textbutton" category="Buttons" pic="textbutton.svg" />
	<!--ARGUMENTS-->
	<objarglist>
	</objarglist>
	<!--parameter-->
	<parameter />
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Trigger output and switch state
			</digest>
			<description>
				The behavior depends on the current <at>mode</at> settings.
				<br />
				<br />
				<at>mode</at> 0 (button): A <m>bang</m> message will re-trigger the object's output.
				<br />
				<br />
				<at>mode</at> 1 (trigger): A <m>bang</m> message will switch the object's state and trigger the output.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Switches toggle
			</digest>
			<description>
				If the <at>mode</at> attribute is set to 0 (button), a bang is sent out the left outlet, and the <at>text</at> message is displayed and set out the middle outlet.
				<br />
				<br />
				If the <at>mode</at> attribute is set to 1 (toggle), and the number input is 1, <o>textbutton</o> is set to 'on', a 1 is sent out the left outlet and the <at>texton</at> message is displayed and set out the middle outlet.
				<br />
				If the number input is 0, <o>textbutton</o> is set to 'off', a 0 is sent out the left outlet and the <at>text</at> message is displayed and set out the middle outlet.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Switches toggle
			</digest>
			<description>
				At float message is converted to <m>int</m>. See the <m>int</m> listing for usage.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Sets toggle state
			</digest>
			<description>
				If the <at>mode</at> attribute is set to 0 (button), a mouse click on <o>textbutton</o> highlights it for as long as the mouse is held down, sending a <m>bang</m> out the left outlet when the mouse button is pressed down, and another <m>bang</m> out the left outlet when the mouse button is released. The button text is also sent out the middle outlet on mouse click.
				<br />
				<br />
				If the <at>mode</at> attribute is set to 1 (toggle), and the initial state of the toggle is 0, <o>textbutton</o> is set to 'on', a 1 is sent out the left outlet and the <at>texton</at> message is displayed and set out the middle outlet.
				<br />
				If initial state of the toggle is 1, <o>textbutton</o> is set to 'off', a 0 is sent out the left outlet and the <at>text</at> message is displayed and set out the middle outlet.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="set-input" optional="0" type="int" />
			</arglist>
			<digest>
				Sets toggle state with no output
			</digest>
			<description>
				If the <at>mode</at> attribute is set to 1 (toggle), the <m>set</m> message toggles the on or off state without sending anything out the outlets. The word <m>set</m>, followed by any non-zero number, sets toggle to on; <m>set 0</m> sets it to off.
			</description>
		</method>
		<method name="setsymbol">
			<arglist>
				<arg name="button-text-item" optional="0" type="list" />
			</arglist>
			<digest>
				Symbol display
			</digest>
			<description>
				If the <at>mode</at> attribute is set to 1 (toggle), the word <m>setsymbol</m>, followed by either the <at>texton</at> or <at>text</at> symbol, causes the <o>textbutton</o> to display that symbol, but does not cause any output. The symbol is case-sensitive.
			</description>
		</method>
		<method name="symbol">
			<arglist>
				<arg name="button-text-item" optional="0" type="list" />
			</arglist>
			<digest>
				Set display and switch toggle
			</digest>
			<description>
				If the <at>mode</at> attribute is set to 1 (toggle), the word <m>symbol</m>, followed by either the <at>texton</at> or <at>text</at> symbol, causes <o>textbutton</o> to display that symbol, switch to the toggle state, and trigger the corresponding output.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="active" get="1" set="1" type="int" size="1">
			<digest>
				Activate button
			</digest>
			<description>
				When active mode is set to 0, the <o>textbutton</o> object will not respond to mouse clicks, and the object is grayed out. This attribute is enabled by default.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Enabled" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="align" get="1" set="1" type="atom" size="1">
			<digest>
				Text alignment
			</digest>
			<description>
				Sets the text alignment.
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="renamed" get="1" set="1" type="symbol" size="1" value="textjustification" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="stylealias" get="1" set="1" type="symbol" size="1" value="textjustification" />
			</attributelist>
		</attribute>
		<attribute name="bgcolor" get="1" set="1" type="float" size="4">
			<digest>
				Background color of &quot;off&quot; state
			</digest>
			<description>
				Sets the background color of the <o>textbutton</o> object when the button is in the &quot;off&quot; state in RGBA format.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Color" />
				<attribute name="legacydefault" get="1" set="1" type="float" size="4" value="0.75 0.75 0.75 1." />
				<attribute name="order" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="rect_fill" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="bgoncolor" get="1" set="1" type="float" size="4">
			<digest>
				Background color of &quot;on&quot; state
			</digest>
			<description>
				Sets the background color of the <o>textbutton</o> object when the button is in the &quot;on&quot; state in RGBA format. The <m>bgoncolor</m> attribute is mapped to the <m>elementcolor</m>  <link module="core" name="maxcolor" type="vignette">style color</link>.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Color (On)" />
				<attribute name="legacydefault" get="1" set="1" type="float" size="4" value="0.55 0.55 0.55 1." />
				<attribute name="order" get="1" set="1" type="int" size="1" value="2" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="rect_fill" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
				<attribute name="stylemap" get="1" set="1" type="symbol" size="1" value="elementcolor" />
			</attributelist>
		</attribute>
		<attribute name="bgovercolor" get="1" set="1" type="atom" size="1">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="bgoveroncolor" get="1" set="1" type="atom" size="1">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="blinktime" get="1" set="1" type="int" size="1">
			<digest>
				Blink duration
			</digest>
			<description>
				Specifies the duration (in milliseconds) that the <o>textbutton</o> object will flash when it is clicked upon or receives a <m>bang</m> message.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="150" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Blink Time in Milliseconds" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="border" get="1" set="1" type="atom" size="1">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="bordercolor" get="1" set="1" type="atom" size="1">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="borderoncolor" get="1" set="1" type="atom" size="1">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="fontlink" get="1" set="1" type="int" size="1">
			<digest>
				Size button based on font size
			</digest>
			<description>
				Toggles setting the size of the button to the currently selected font size and character width.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Link Button Size to Font Size" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="4" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="legacytextcolor" get="1" set="1" type="int" size="1">
			<digest>
				Legacy Text Color Mode
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="introduced" get="1" set="1" type="symbol" size="1" value="7.0.0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Legacy Text Color Mode" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="8" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="mode" get="1" set="1" type="int" size="1">
			<digest>
				Button mode
			</digest>
			<description>
				Sets the button mode.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="2">
					<enumlist>
						<enum name="Button">
							<digest>
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Toggle">
							<digest>
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Mode" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="enumindex" />
			</attributelist>
		</attribute>
		<attribute name="outputmode" get="1" set="1" type="int" size="1">
			<digest>
				Output mode
			</digest>
			<description>
				Sets the output mode. Output modes are:
				<br />
				<br />
				0: Send output on mouse down
				<br />
				1: Send output on mouse up (default)
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="2">
					<enumlist>
						<enum name="Mouse down">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Mouse up">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Output Mode" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="5" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="enumindex" />
			</attributelist>
		</attribute>
		<attribute name="parameter_enable" get="1" set="1" type="int" size="1">
			<digest>
				Enable parameter mode handling
			</digest>
			<description>
				Enables use of this object with <link module="core" name="live_parameters" type="vignette">Max for Live Parameters</link> and allows for <link module="core" name="parameter_enable" type="vignette">setting initial parameter values</link> in the Max environment.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Parameter" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Parameter Mode Enable" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="rounded" get="1" set="1" type="float" size="1">
			<digest>
				Rounded corners
			</digest>
			<description>
				Sets the amount in pixels by which to round the textbutton shape.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<attribute name="default" get="1" set="1" type="float" size="1" value="0." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Round-ness of Box Corners" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="spacing_x" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal spacing
			</digest>
			<description>
				Sets the horizontal spacing for the <o>textbutton</o> object in pixels.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="float" size="1" value="4." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Horizontal Spacing" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="spacing_y" get="1" set="1" type="float" size="1">
			<digest>
				Vertical spacing
			</digest>
			<description>
				Sets the vertical spacing for the <o>textbutton</o> object in pixels.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="float" size="1" value="4." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Vertical Spacing" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="style" get="1" set="1" type="symbol" size="1">
			<digest>
				Style
			</digest>
			<description>
				Sets the <link type="vignette" module="core" name="styles">style</link> to be applied to the object. Styles can be set using the <link type="vignette" module="core" name="format_palette">Format palette</link>.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Appearance" />
				<attribute name="introduced" get="1" set="1" type="symbol" size="1" value="7.0.0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Style" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="style" />
			</attributelist>
		</attribute>
		<attribute name="text" get="1" set="1" type="atom" size="1">
			<digest>
				Button/toggle label
			</digest>
			<description>
				Sets the button label, and sets the the &quot;off&quot; state label when <at>mode</at> is set to 1 (toggle).
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="atom" size="1" value="Button" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Text &quot;Off&quot; Label" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="2" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="text_onesymbol" />
			</attributelist>
		</attribute>
		<attribute name="textcolor" get="1" set="1" type="float" size="4">
			<digest>
				Text color in &quot;off&quot; state
			</digest>
			<description>
				Sets the text color for the <o>textbutton</o> object when the button is in the &quot;off&quot; state in RGBA format. The <m>textcolor</m> attribute is mapped to the <m>accentcolor</m>  <link module="core" name="maxcolor" type="vignette">style color</link>.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Text Color (Off)" />
				<attribute name="legacydefault" get="1" set="1" type="float" size="4" value="0.15 0.15 0.15 1." />
				<attribute name="order" get="1" set="1" type="int" size="1" value="3" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="text_letter" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
				<attribute name="stylemap" get="1" set="1" type="symbol" size="1" value="accentcolor" />
			</attributelist>
		</attribute>
		<attribute name="texton" get="1" set="1" type="atom" size="1">
			<digest>
				Button label in &quot;on&quot; state
			</digest>
			<description>
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="atom" size="1" value="Button On" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Text &quot;On&quot; Label" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="3" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="text_onesymbol" />
			</attributelist>
		</attribute>
		<attribute name="textoncolor" get="1" set="1" type="float" size="4">
			<digest>
				Text color in &quot;on&quot; state
			</digest>
			<description>
				Sets the text color for the <o>textbutton</o> object when the button is in the &quot;on&quot; state in RGBA format. The <m>textoncolor</m> attribute is mapped to the <m>color</m>  <link module="core" name="maxcolor" type="vignette">style color</link>.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Text Color (On)" />
				<attribute name="legacydefault" get="1" set="1" type="float" size="4" value="1. 1. 1. 1." />
				<attribute name="order" get="1" set="1" type="int" size="1" value="4" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="text_letter" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
				<attribute name="stylemap" get="1" set="1" type="symbol" size="1" value="color" />
			</attributelist>
		</attribute>
		<attribute name="textovercolor" get="1" set="1" type="float" size="4">
			<digest>
				Mouseover color for &quot;off&quot; state
			</digest>
			<description>
				Sets the text color for the <o>textbutton</o> object on mouseover when the button is in the &quot;off&quot; state in RGBA format. The <m>textovercolor</m> attribute is mapped to the <m>selectioncolor</m>  <link module="core" name="maxcolor" type="vignette">style color</link>.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Text Over Color" />
				<attribute name="legacydefault" get="1" set="1" type="float" size="4" value="0.1 0.1 0.1 1." />
				<attribute name="order" get="1" set="1" type="int" size="1" value="5" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="text_letter" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
				<attribute name="stylemap" get="1" set="1" type="symbol" size="1" value="selectioncolor" />
			</attributelist>
		</attribute>
		<attribute name="textoveroncolor" get="1" set="1" type="atom" size="1">
			<digest>
				Mouseover color for &quot;on&quot; state
			</digest>
			<description>
				Sets the text color for the <o>textbutton</o> object on mouseover when the button is in the &quot;on&quot; state in RGBA format.
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="tosymbol" get="1" set="1" type="int" size="1">
			<digest>
				Output text as a single symbol
			</digest>
			<description />
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Output as One Symbol" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="6" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="truncate" get="1" set="1" type="int" size="1">
			<digest>
				Truncate text
			</digest>
			<description>
				Sets the text truncation mode. Alignment modes are:
				<br />
				<br />
				0: no truncation
				<br />
				1: truncate from the right (e.g. <i>abcdef...</i>. This is the default.
				<br />
				2: truncate from center (e.g. <i>abcd...wxyz</i> 
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="3">
					<enumlist>
						<enum name="No truncation">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Truncate from the right">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Truncate from the middle">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Text Truncation" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="7" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="enumindex" />
			</attributelist>
		</attribute>
		<attribute name="underline" get="1" set="1" type="int" size="1">
			<digest>
				Underline text
			</digest>
			<description>
				The word <m>underline</m>, followed by a zero or one, toggles the underlining of text in the <o>textbutton</o> object. The default is 0 (no underlining).
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Appearance" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Underline" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="usebgoncolor" get="1" set="1" type="int" size="1">
			<digest>
				Use Background On Color
			</digest>
			<description>
				Toggles the use of a background &quot;on&quot; color.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="introduced" get="1" set="1" type="symbol" size="1" value="7.0.0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Use Background On Color" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="6" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="usetextovercolor" get="1" set="1" type="int" size="1">
			<digest>
				Use Text Over Color
			</digest>
			<description>
				Toggles the use of a different color when hovering over the text.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="introduced" get="1" set="1" type="symbol" size="1" value="7.0.0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Use Text Over Color" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="7" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="matrixctrl" />
		<seealso name="message" />
		<seealso name="pictctrl" />
		<seealso name="pictslider" />
		<seealso name="tab" />
		<seealso name="ubutton" />
	</seealsolist>
</c74object>
