<?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="umenu" module="max" category="U/I">
	<digest>
		Pop-up menu
	</digest>
	<description>
		Displays text as a pop-up menu. Selections can be made manually, or set incoming numbers. Outputs both selection number and selection text.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="alias-unlisted">
			ubumenu
		</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>
				Item Number Chosen
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				Menu Item Text Evaluated as a Message
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="2" type="OUTLET_TYPE">
			<digest>
				Dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette action="umenu" category="Interface" pic="umenu.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 current selection
			</digest>
			<description>
				Sends out the currently displayed menu item.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="index" optional="0" type="int" />
			</arglist>
			<digest>
				Select a menu item programmatically
			</digest>
			<description>
				The number specifies a menu item to be sent out, and causes <o>umenu</o> to display that item. The items are numbered starting at 0. A menu item can also be chosen from a umenu with the mouse, as with any pop-up menu.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="index" optional="0" type="float" />
			</arglist>
			<digest>
				Select a menu item programmatically
			</digest>
			<description>
				Converted to <m>int</m>.
			</description>
		</method>
		<method name="(drag)">
			<digest>
				Load the menu from a folder
			</digest>
			<description>
				When a file folder is dragged from the Max File Browser to a <o>umenu</o> object, the folder's contents will be loaded into as menu choices.
				<br />
				<br />
				When a file folder is dragged from the Max File Browser to a blank space in an unlocked patcher window, a <o>umenu</o> object containing the folder's contents loaded will be created.
			</description>
		</method>
		<method name="append">
			<arglist>
				<arg name="message" optional="0" type="list" />
			</arglist>
			<digest>
				Add a menu item
			</digest>
			<description>
				The word <m>append</m>, followed by any message, appends that message as the new last item in the menu.
			</description>
		</method>
		<method name="checkitem">
			<arglist>
				<arg name="index" optional="0" type="int" />
				<arg name="checked" optional="0" type="int" />
			</arglist>
			<digest>
				Set a menu item check mark
			</digest>
			<description>
				The word <m>checkitem</m>, followed by an item number and 1 or 0, places (1) or removes (0) a check mark next to the item number.
			</description>
		</method>
		<method name="clear">
			<arglist />
			<digest>
				Remove menu items
			</digest>
			<description>
				Removes all items from the <o>umenu</o>.
			</description>
		</method>
		<method name="delete">
			<arglist>
				<arg name="indices" optional="0" type="list" />
			</arglist>
			<digest>
				Remove select menu items
			</digest>
			<description>
				The word <m>delete</m>, followed by one or more numbers that correspond to items in the list, deletes the item or items from the <o>umenu</o>.
			</description>
		</method>
		<method name="clearchecks">
			<arglist />
			<digest>
				Remove all menu check marks
			</digest>
			<description>
				The word <m>clearchecks</m> removes check marks for all items.
			</description>
		</method>
		<method name="count">
			<arglist />
			<digest>
				Report the number of menu items
			</digest>
			<description>
				Sends the number of items in the <o>umenu</o> out the right outlet, preceded by the word <m>count</m>.
			</description>
		</method>
		<method name="enableitem">
			<arglist>
				<arg name="indes" optional="0" type="int" />
				<arg name="enable" optional="0" type="int" />
			</arglist>
			<digest>
				Enable or disable menu items
			</digest>
			<description>
				The word <m>enableitem</m>, followed by a number that specifies a menu item and a 1 or 0, enables or disables the specified item number. Disabled menu items cannot be selected, but their text and item number are sent from the rightmost outlet if the mouse is released while above them, prefixed by the symbols <m>disabled_eval</m> and <m>disabled_item</m>, respectively.
			</description>
		</method>
		<method name="gettoggle">
			<arglist />
			<digest>
				Report toggle state
			</digest>
			<description>
				Reports the current value of the <o>umenu</o> object's toggle state (1 or 0, for on or off), from the right outlet, preceded by the word <m>toggle</m>.
			</description>
		</method>
		<method name="insert">
			<arglist>
				<arg name="index" optional="0" type="int" />
				<arg name="message" optional="0" type="list" />
			</arglist>
			<digest>
				Insert a menu item
			</digest>
			<description>
				The word <m>insert</m>, followed by a number and a message, inserts the message at the address specified by the number, incrementing all equal or greater addresses by 1 if necessary.
			</description>
		</method>
		<method name="mode">
			<arglist>
				<arg name="display" optional="0" type="int" />
			</arglist>
			<digest>
				Set menu appearance and behavior
			</digest>
			<description>
				Legacy message. Please use the <at>menumode</at> attribute. The word <m>mode</m>, followed by a number in the range 1-4, sets the appearance and behavior of the <o>umenu</o> object. The normal pop-up menu style is 1 (the default). Scrolling mode (2) lets you scroll through the individual menu items by dragging the mouse up or down, displaying one item at a time. Label mode (3) shows the text of the selected menu item with no border around it, and does not respond to the mouse. Toggle mode (4) sets a button style. Clicking on the object in mode 3 causes it to alternate between an active and inactive state. When changing from inactive to active, the object sends the message <m>toggle 1</m> from its rightmost outlet, and changes to the color set using the <m>togcolor</m> attribute. When changing from active to inactive, the object sends the message <m>toggle 0</m> from its rightmost outlet, and changes to the color set using the <m>bgcolor</m> attribute. Whether activating or deactivating, the object also sends its current message from the middle outlet and its current item number from the left outlet.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Select a menu item
			</digest>
			<description>
				Clicking with the mouse lets you select a menu item to be sent out, and causes <o>umenu</o> to display that item.
			</description>
		</method>
		<method name="next">
			<arglist />
			<digest>
				Select the next menu item
			</digest>
			<description>
				Selects the next menu item and causes the <o>umenu</o> object to display that item. This message will ignore disabled or separator menu items.
			</description>
		</method>
		<method name="populate">
			<arglist />
			<digest>
				Populate the menu with file names
			</digest>
			<description>
				If the <o>umenu</o> object has a valid folder path as its <at>prefix</at>, the <m>populate</m> message will cause the menu to re-populate its <at>items</at> list, based on the current contents of the specified path (and filtered by the <at>types</at> list). After population is complete, the number of items added to the <o>umenu</o> object will be output from the right outlet, preceded by the word <m>populate</m>.
			</description>
		</method>
		<method name="prev">
			<arglist />
			<digest>
				Select the previous menu item
			</digest>
			<description>
				Selects the previous menu item and causes the <o>umenu</o> object to display that item. This message will ignore disabled or separator menu items.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="item" optional="0" type="list" />
			</arglist>
			<digest>
				Select a menu item with no output
			</digest>
			<description>
				The word <m>set</m>, followed by a number or symbol, specifies a menu item to be displayed by <o>umenu</o>, but does not send it out the outlet. If the set argument is a symbol, <m>set</m> searches for a menu item which begins with the symbol.
			</description>
		</method>
		<method name="setcheck">
			<arglist>
				<arg name="character" optional="0" type="int" />
			</arglist>
			<digest>
				Set check mark character
			</digest>
			<description>
				(Macintosh only) The word <m>setcheck</m>, followed by a number that specifies the decimal representation of a UTF-8 character (e.g. 8226 for a bullet or 62 for a greater than symbol), sets the character used to be the check mark. The word <m>setcheck</m> with no argument specifies the default square root checkbox.
			</description>
		</method>
		<method name="setitem">
			<arglist>
				<arg name="index" optional="0" type="int" />
				<arg name="message" optional="0" type="list" />
			</arglist>
			<digest>
				Set menu item text
			</digest>
			<description>
				The word <m>setitem</m>, followed by an item number and any message, sets the specified menu item to that message.
			</description>
		</method>
		<method name="setsymbol">
			<arglist>
				<arg name="menu item" optional="0" type="symbol" />
			</arglist>
			<digest>
				Select menu item with no output
			</digest>
			<description>
				The word <m>setsymbol</m>, followed by a message, specifies a menu item to be displayed by name without triggering any output.
			</description>
		</method>
		<method name="setrgb">
			<arglist>
				<arg name="fore-red" optional="0" type="int" />
				<arg name="fore-green" optional="0" type="int" />
				<arg name="fore-blue" optional="0" type="int" />
				<arg name="back-red" optional="0" type="int" />
				<arg name="back-green" optional="0" type="int" />
				<arg name="back-blue" optional="0" type="int" />
			</arglist>
			<digest>
				Set menu colors
			</digest>
			<description>
				The word <m>setrgb</m>, followed by six numbers between 0 and 255 that specify RGB values, uses the first three numbers to set the foreground (text) color and the second three numbers to set the background (fill) color.
			</description>
		</method>
		<method name="settoggle">
			<arglist>
				<arg name="state" optional="0" type="int" />
			</arglist>
			<digest>
				Set toggle state, cause output
			</digest>
			<description>
				The word <m>settoggle</m>, followed by a one or zero, sets the <o>umenu</o> object to the specified state if it is in toggle mode and performs output as if the object were clicked on (the symbol <m>toggle</m>, followed by a zero or one, indicating the toggle state). Without an argument, the message simply toggles the object's state and triggers output.
			</description>
		</method>
		<method name="showchecked">
			<arglist />
			<digest>
				Show checked menu item
			</digest>
			<description>
				This message operates as follows. If the currently displayed item is checked, do nothing. Otherwise, starting at the first item in the menu, find one that is checked and set the menu to display that item. If there isn't one, do nothing.
			</description>
		</method>
		<method name="symbol">
			<arglist>
				<arg name="item" optional="0" type="symbol" />
			</arglist>
			<digest>
				Select a menu item by name
			</digest>
			<description>
				Identical to the <m>set</m> message with a symbol argument, except that the found item number is sent out (and the text of the item is sent out the right outlet, if the Evaluate Item Text feature is enabled).
			</description>
		</method>
		<method name="toggle">
			<arglist>
				<arg name="state" optional="0" type="int" />
			</arglist>
			<digest>
				Set toggle state, cause output
			</digest>
			<description>
				The word <m>toggle</m>, followed by a one or zero, sets the <o>umenu</o> object to the specified state if it is in toggle mode and performs output as if the object were clicked on (the symbol <m>toggle</m>, followed by a zero or one, indicating the toggle state). Without an argument, the message simply toggles the object's state and triggers output.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="align" get="1" set="1" type="atom" size="1">
			<digest>
				Text alignment mode
			</digest>
			<description>
				Sets the text alignment mode. Alignment modes are:
				<br />
				0 left (the default)
				<br />
				1 center (1)
				<br />
				2 right alignment (2)
			</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="allowdrag" get="1" set="1" type="int" size="1">
			<digest>
				Allow Drag &amp;amp; Drop
			</digest>
			<description>
				TEXT_HERE
			</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="introduced" get="1" set="1" type="symbol" size="1" value="7.0.2" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Allow Drag &amp; Drop" />
				<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="applycolors" get="1" set="1" type="int" size="1">
			<digest>
				Apply Box Colors to Menu
			</digest>
			<description>
				TEXT_HERE
			</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="Apply Box Colors to Menu" />
				<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="arrow" get="1" set="1" type="int" size="1">
			<digest>
				Draw Arrow
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Appearance" />
				<attribute name="defaultname" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Draw Arrow" />
				<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="arrowbgcolor" 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="arrowcolor" 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="arrowframe" 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="arrowlink" 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="autopopulate" get="1" set="1" type="int" size="1">
			<digest>
				Populate from folder contents
			</digest>
			<description>
				Toggles the automatic population of an <o>umenu</o> object with folder contents (default = 0). The automatic population will occur when it receives a valid folder path as the argument to a prefix message, or at patcher load, if a valid prefix is stored with the object. See the prefix, populate, and types message descriptions for more information.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Files" />
				<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="Auto-Populate" />
				<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="bgcolor" get="1" set="1" type="atom" size="1">
			<digest>
				Background color
			</digest>
			<description>
				Sets the background color of the <o>umenu</o> object object in RGBA format.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="legacydefault" get="1" set="1" type="atom" size="4" value="1. 1. 1. 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" />
			</attributelist>
		</attribute>
		<attribute name="bgcolor2" 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="bgfillcolor" get="1" set="1" type="float" size="4">
			<digest>
				Background Color
			</digest>
			<description>
				TEXT_HERE
			</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="fill" get="1" set="1" type="int" size="1" value="1" />
				<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="Background Color" />
				<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="0" />
				<attribute name="selfsave" 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="collection" get="1" set="1" type="symbol" size="1">
			<digest>
				Collection Name
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Files" />
				<attribute name="default" get="1" set="1" type="symbol" size="1" value="" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="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="Collection Name" />
				<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="enum" />
			</attributelist>
		</attribute>
		<attribute name="color" get="1" set="1" type="float" size="4">
			<digest>
				Toggle Hilite Color
			</digest>
			<description>
				Sets the toggle highlight color 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="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="Toggle Hilite Color" />
				<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" />
			</attributelist>
		</attribute>
		<attribute name="depth" get="1" set="1" type="int" size="1">
			<digest>
				Folder recursion depth
			</digest>
			<description>
				Sets the folder recursion depth used by the <o>umenu</o> object when populating from a valid file path.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Files" />
				<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="Folder Depth" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="discolor" 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="elementcolor" get="1" set="1" type="float" size="4">
			<digest>
				Toggle Off Color
			</digest>
			<description>
				Sets the toggle off color in RGBA format.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<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="Toggle Off Color" />
				<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" />
			</attributelist>
		</attribute>
		<attribute name="framecolor" 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="hltcolor" 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="items" get="1" set="1" type="atom" size="1">
			<digest>
				Edit menu items
			</digest>
			<description>
				The <at>items</at> attribute, which is only accessible using the <o>umenu</o> object's Inspector, lets you enter the items which you want to appear on the menu by typing into a dialog box. Menu items are separated by by commas (e.g., red, orange, yellow, green).
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Items" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Menu Items" />
				<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_large" />
			</attributelist>
		</attribute>
		<attribute name="labelclick" get="1" set="1" type="int" size="1">
			<digest>
				Label click mode
			</digest>
			<description>
				Toggles Label Click mode on or off. In this mode, when the object is in Label mode, you can click in the object's rectangle and the current value of the menu is sent out the left outlet. In addition, the text of the current item is shown underlined.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Mode" />
				<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="Click on 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="onoff" />
			</attributelist>
		</attribute>
		<attribute name="menumode" get="1" set="1" type="int" size="1">
			<digest>
				Appearance/behavior mode
			</digest>
			<description>
				Sets the appearance and behavior of the <o>umenu</o> object. The modes are:
				<br />
				<br />
				0: Normal mode - the normal pop-up menu (default).
				<br />
				1: Scrolling mode - lets you scroll through the individual menu items by dragging the mouse up or down, displaying one item at a time.
				<br />
				2: Label mode - shows the text of the selected menu item with no border around it, and does not respond to the mouse.
				<br />
				3: Toggle mode - Clicking on the object in mode 3 causes it to alternate between an active and inactive state. When changing from inactive to active, the object sends the message <m>toggle 1</m> from its rightmost outlet, and changes to the color set using the <m>togcolor</m> attribute. When changing from active to inactive, the object sends the message <m>toggle 0</m> from its rightmost outlet, and changes to the color set using the <m>bgcolor</m> attribute. Whether activating or deactivating, the object also sends its current message from the middle outlet and its current item number from the left outlet.
				<br />
				Control-clicking allows you to change the current state of a <o>umenu</o> object in toggle mode.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Mode" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="4">
					<enumlist>
						<enum name="Normal">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Scrolling">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Label">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Toggle">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Menu 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="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="pattrmode" get="1" set="1" type="int" size="1">
			<digest>
				Pattr state mode
			</digest>
			<description>
				Sets the method used by the <o>umenu</o> object object to report its internal state to the pattr object. When the argument is 0 (default), the <o>umenu</o> object reports its internal state by number (e.g. item 3 of the list of items). When the argument is 1, the <o>umenu</o> object reports its internal state by symbol (e.g. item 'carrots' of the list of items).
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Items" />
				<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="Pattr Stores Symbol" />
				<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="prefix" get="1" set="1" type="symbol" size="1">
			<digest>
				Output prefix
			</digest>
			<description>
				Sets a menu-wide prefix, which can be concatenated or prepended to all menu item text before output. If the prefix is a valid folder path, the populate and types messages can be used to automatically fill the <o>umenu</o> object with a list of files in the folder. See the entries for those messages for more information. Sending a prefix message without any argument clears the currently stored prefix.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Files" />
				<attribute name="default" get="1" set="1" type="symbol" size="1" value="" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Prefix or Folder" />
				<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="filefolder" />
			</attributelist>
		</attribute>
		<attribute name="prefix_mode" get="1" set="1" type="int" size="1">
			<digest>
				Prefix mode
			</digest>
			<description>
				Sets the output behavior of the prefix mode. The modes are:
				<br />
				<br />
				0: concatenate mode; the prefix is added to the front of the outgoing message without a space.
				<br />
				1: prepend mode; the prefix is added to the front of the outgoing message list as a discrete symbol.
				<br />
				2: ignore mode; the prefix is not used for output.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Files" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="3">
					<enumlist>
						<enum name="Concatenate">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Prepend">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Ignore">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Prefix Mode" />
				<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="rounded" 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="showdotfiles" get="1" set="1" type="int" size="1">
			<digest>
				Show files beginning with a dot (.)
			</digest>
			<description>
				Toggles the display of files whose names begin with a dot (.). The default is off.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Files" />
				<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="Show Dot Files" />
				<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="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="textcolor" get="1" set="1" type="float" size="4">
			<digest>
				Text color
			</digest>
			<description>
				Sets the text color of the <o>umenu</o> object object in RGBA format. The <m>textcolor</m> attribute is mapped to the <m>textcolor_inverse</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" />
				<attribute name="legacydefault" get="1" set="1" type="float" size="4" value="0.149 0.149 0.149 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="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="textcolor_inverse" />
			</attributelist>
		</attribute>
		<attribute name="textcolor2" 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="togcolor" 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="truncate" get="1" set="1" type="int" size="1">
			<digest>
				Text truncation mode
			</digest>
			<description>
				Toggles the location of the truncation of text in the <o>umenu</o> object when the text is too long. The default is 1 (truncate the end of the text on the right-hand side). A value of 2 will cause the text to truncate in the middle in the same manner as the textbutton object.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Text" />
				<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="Truncation full words">
							<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="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="types" get="1" set="1" type="symbol" size="1">
			<digest>
				File types list
			</digest>
			<description>
				Sets a file type filter for use by the <m>populate</m> message. Up to 64 file types may be entered as a list. By default, no file types are filtered. For a list of valid four-letter filetype codes, see the <link name="filetypes" module="core" type="vignette">Filetypes Recognized in Max</link> Guide.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Files" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="File Types" />
				<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_large" />
			</attributelist>
		</attribute>
		<attribute name="underline" get="1" set="1" type="int" size="1">
			<digest>
				Text underline flag
			</digest>
			<description>
				Toggles the underlining of text in the <o>umenu</o> object. The default is 0 (no underlining).
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Text" />
				<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>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="umenu.png" caption="Used to send commands ...or to display text associated with numbers received" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="coll" />
		<seealso name="fontlist" />
		<seealso module="max" name="basicchapter13" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="int">
			<description>
				Out left outlet: The number of the selected menu item is sent out. Menu items are numbered beginning with 0.
			</description>
		</entry>
		<entry name="anything">
			<description>
				Out middle outlet: The text of the selected menu item is sent out as a message.
				<br />
				<br />
				Out right outlet: The <m>count</m>, <m>gettoggle</m>, and <m>populate</m>, messages will cause status messages to be sent out the right outlet.
			</description>
		</entry>
	</misc>
</c74object>
