<?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="live.tab" module="m4l" category="M4L U/I">
	<digest>
		A user interface tab/multiple button object
	</digest>
	<description>
		<o>live.tab</o> is used to create multiple-button and multi-column displays and interfaces.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Live
		</metadata>
		<metadata name="tag">
			M4L 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>
				Item Index
			</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>
				Parameter Raw Value (0.-1.)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette category="Live" action="live.tab" pic="live.tab.svg" />
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--parameter-->
	<parameter />
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output the current item
			</digest>
			<description>
				Sends the current item out the outlets.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Display a tab item and send the current item
			</digest>
			<description>
				The number specifies a tab item to be sent out, and causes <o>live.tab</o> to display that item. The items are numbered starting at 0.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Display a tab item and send the current item
			</digest>
			<description>
				The number specifies a tab item to be sent out, and causes <o>live.tab</o> to display that item. The items are numbered starting at 0.
			</description>
		</method>
		<method name="assign">
			<arglist>
				<arg name="assign-input" optional="0" type="float" />
			</arglist>
			<digest>
				Store, display, and send an item
			</digest>
			<description>
				The word <m>assign</m>, followed by a floating point value, causes that value to be stored and displayed and sent out the <o>live.tab</o> object's outlet. If the Parameter Visibility attribute is set to Stored Only, the <m>assign</m> message will not add the new value to the Live application’s undo chain.
			</description>
		</method>
		<method name="init">
			<arglist />
			<digest>
				Restore and output the initial value
			</digest>
			<description>
				Restore and output the initial value.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Click to set a tab selection
			</digest>
			<description>
				Clicking on a tab button will highlight and set the selection and send the tab text out the second outlet and the index out the first outlet.
			</description>
		</method>
		<method name="outputvalue">
			<arglist />
			<digest>
				Output the current value
			</digest>
			<description>
				Sends the current value out the outlet.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="tab index" optional="0" type="float" />
			</arglist>
			<digest>
				Display a menu item without triggering output
			</digest>
			<description>
				The word <m>set</m>, followed by a number, specifies a menu item to be displayed by <o>live.tab</o> without triggering any output.
			</description>
		</method>
		<method name="setsymbol">
			<arglist>
				<arg name="tab item" optional="0" type="list" />
			</arglist>
			<digest>
				Display a tab item without triggering output
			</digest>
			<description>
				The word <m>setsymbol</m>, followed by a symbol that specifies a tab item, causes <o>live.tab</o> to display that item, but does not cause any output.
			</description>
		</method>
		<method name="symbol">
			<arglist>
				<arg name="tab item" optional="0" type="list" />
			</arglist>
			<digest>
				Display a tab item and report output
			</digest>
			<description>
				The word <m>symbol</m>, followed by a symbol that specifies a tab item, causes <o>live.tab</o> to display that item and send the tab text out the second outlet and the index out the first outlet.
			</description>
		</method>
		<method name="rawfloat">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Store a raw normalized value, convert to real, display, and output
			</digest>
			<description>
				A raw normalized value (between 0. and 1.) received in the inlet is converted to a real value, stored, displayed by <o>live.tab</o>, and the current value is sent out the outlet.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="active" get="1" set="1" type="int" size="1">
			<digest>
				Active mode enable
			</digest>
			<description>
				Toggles the object's active state. When <m>active</m> is set to 0, the mouse action does not cause output and the inactive colors are used.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Behavior" />
				<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="paint" 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="activebgcolor" get="1" set="1" type="float" size="4">
			<digest>
				Background color off (active)
			</digest>
			<description>
				Sets the background color off displayed when the <m>active</m> attribute is set to 1.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0.6 0.6 0.6 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Color Off (Active)" />
				<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="rgba" />
			</attributelist>
		</attribute>
		<attribute name="activebgoncolor" get="1" set="1" type="float" size="4">
			<digest>
				Background color on (active)
			</digest>
			<description>
				Sets the background color on displayed when the <m>active</m> attribute is set to 1.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="1. 0.788235 0.027451 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Color On (Active)" />
				<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="rgba" />
			</attributelist>
		</attribute>
		<attribute name="bgcolor" get="1" set="1" type="float" size="4">
			<digest>
				Background color off (inactive)
			</digest>
			<description>
				Sets the background color off displayed when the <m>active</m> attribute is set to 0.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0.6 0.6 0.6 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Color Off (Inactive)" />
				<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="rgba" />
			</attributelist>
		</attribute>
		<attribute name="bgoncolor" get="1" set="1" type="float" size="4">
			<digest>
				Background color on (inactive)
			</digest>
			<description>
				Sets the background color on displayed when the <m>active</m> attribute is set to 0.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0.490196 0.482353 0.478431 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Color On (Inactive)" />
				<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="rgba" />
			</attributelist>
		</attribute>
		<attribute name="blinktime" get="1" set="1" type="int" size="1">
			<digest>
				Blink time
			</digest>
			<description>
				Sets the blink time in milliseconds.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<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="bordercolor" get="1" set="1" type="float" size="4">
			<digest>
				Border color
			</digest>
			<description>
				Sets the display color for the <o>live.tab</o> object's border in RGBA format.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0.196078 0.196078 0.196078 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Border Color" />
				<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="rgba" />
			</attributelist>
		</attribute>
		<attribute name="button" get="1" set="1" type="int" size="1">
			<digest>
				Button mode enable
			</digest>
			<description>
				Toggles button mode for the <o>live.tab</o> object.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" 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="Button Mode" />
				<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="focusbordercolor" get="1" set="1" type="float" size="4">
			<digest>
				Border color (focus)
			</digest>
			<description>
				Sets the border color in RGBA format to be used when the <o>live.tab</o> object has the focus.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0. 0.019608 0.078431 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Border Color (Focus)" />
				<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="rgba" />
			</attributelist>
		</attribute>
		<attribute name="mode" get="1" set="1" type="int" size="1">
			<digest>
				Tab layout mode
			</digest>
			<description>
				Sets the text tab layout mode.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<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="Equal Spaced">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Proportional">
							<digest>
								Proportional spacing
							</digest>
							<description>
								Separate tab entries are proportionally spaced according to the text.
								<br />
								Note: to add multiple words, use the backslash before a space (e.g. &quot;one\ down&quot;)
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Spacing Mode" />
				<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="multiline" get="1" set="1" type="int" size="1">
			<digest>
				Multiple line enable
			</digest>
			<description>
				Toggles allowing multiple lines of text in a tab. When set, you can resize the object to create multicoloum displays.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<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="Allow Multiple Lines" />
				<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="pictures" get="1" set="1" type="symbol" size="64">
			<digest>
				Images file path
			</digest>
			<description>
				Sets the paths for pictures used when the <m>usepicture</m> attribute is set to 1. Bitmap images such as PNG or vectorized images (SVG) can be used.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Pictures" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Images Files" />
				<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" />
			</attributelist>
		</attribute>
		<attribute name="rounded" get="1" set="1" type="float" size="1">
			<digest>
				Round-ness of Box Corners
			</digest>
			<description>
				Set the roundness of the border
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Appearance" />
				<attribute name="defaultname" 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>live.tab</o> object in pixels.
			</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="6." />
				<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>live.tab</o> object in pixels.
			</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="6." />
				<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="textcolor" get="1" set="1" type="float" size="4">
			<digest>
				Text color (off)
			</digest>
			<description>
				Sets the display color for the <o>live.tab</o> object's text in RGBA format.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0. 0. 0. 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Text Color (Off)" />
				<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="rgba" />
			</attributelist>
		</attribute>
		<attribute name="textoncolor" get="1" set="1" type="float" size="4">
			<digest>
				Text color (on)
			</digest>
			<description>
				Sets the display color for the <o>live.tab</o> object's text when the tab is on in RGBA format.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0. 0. 0. 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Text Color (On)" />
				<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="rgba" />
			</attributelist>
		</attribute>
		<attribute name="usepicture" get="1" set="1" type="int" size="1">
			<digest>
				Picture enable
			</digest>
			<description>
				Toggles the use of the pictures instead of text display. Note that you need to provide enough pictures by setting the <m>pictures</m> attribute properly.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Pictures" />
				<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="Use Pictures" />
				<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>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="live.tab.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="live.text" />
		<seealso name="live.toggle" />
		<seealso name="tab" />
	</seealsolist>
</c74object>
