<refentry id="glutChangeToMenuEntry.3GLUT">
	<refmeta id="glutChangeToMenuEntry.3GLUT-meta">
		<refentrytitle>glutChangeToMenuEntry</refentrytitle>
		<manvolnum>3GLUT</manvolnum>
	</refmeta>
	<refnamediv id="glutChangeToMenuEntry.3GLUT-name">
		<refname>glutChangeToMenuEntry</refname>
		<refpurpose>changes the specified menu item in the current menu into a menu entry.</refpurpose>
	</refnamediv>
	<refsynopsisdiv id="glutChangeToMenuEntry.3GLUT-c_spec">
		<title>C Specification</title>
		<funcsynopsis>
			<funcprototype>
				<funcdef>void&nbsp;<function>glutChangeToMenuEntry</function></funcdef>
				<paramdef>int&nbsp;<parameter>entry</parameter></paramdef>
				<paramdef>char&nbsp;*<parameter>name</parameter></paramdef>
				<paramdef>int&nbsp;<parameter>value</parameter></paramdef>
			</funcprototype>
		</funcsynopsis>
	</refsynopsisdiv>
	<refsect1 id="glutChangeToMenuEntry.3GLUT-parameters">
		<title>Parameters</title>
		<variablelist>
			<varlistentry>
				<term><parameter>entry</parameter></term>
				<listitem>
					<simpara>
						Index into the menu items of the current menu (1 is the topmost menu item).
					</simpara>
				</listitem>
			</varlistentry>
			<varlistentry>
				<term><parameter>name</parameter></term>
				<listitem>
					<simpara>
						ASCII character string to display in the menu entry.
					</simpara>
				</listitem>
			</varlistentry>
			<varlistentry>
				<term><parameter>value</parameter></term>
				<listitem>
					<simpara>
						Value to return to the menu's callback function if the menu entry is selected.
					</simpara>
				</listitem>
			</varlistentry>
		</variablelist>
	</refsect1>
	<refsect1 id="glutChangeToMenuEntry.3GLUT-description">
		<title>Description</title>
		<para>
			<function>glutChangeToMenuEntry</function> changes the specified menu entry in the current menu into a menu entry. The
			entry parameter determines which menu item should be changed, with one being the topmost item. entry must be between 1
			and <constant>GLUT_MENU_NUM_ITEMS</constant> inclusive. The menu item to change does not have to be a menu entry
			already. The string name will be displayed for the newly changed menu entry. The value will be returned to the menu's
			callback if this menu entry is selected.
		</para>
	</refsect1>
	<refsect1 id="glutChangeToMenuEntry.3GLUT-see_also">
		<title>See Also</title>
		<para>
			<simplelist type="inline">
				<member><citerefentry>
					<refentrytitle>glutChangeToSubMenu</refentrytitle>
					<manvolnum>3GLUT</manvolnum>
				</citerefentry></member>
				<member><citerefentry>
					<refentrytitle>glutAddMenuEntry</refentrytitle>
					<manvolnum>3GLUT</manvolnum>
				</citerefentry></member>
				<member><citerefentry>
					<refentrytitle>glutRemoveMenuItem</refentrytitle>
					<manvolnum>3GLUT</manvolnum>
				</citerefentry></member>
			</simplelist>
		</para>
	</refsect1>
</refentry>
