qt-agistudio/help/set_menu_item.html

20 lines
639 B
HTML

<HTML>
<HEAD>
<TITLE>set.menu.item</TITLE></HEAD>
<BODY>
<h1>set.menu.item</h1>
<B>Category</B><p>
<a href="menu_commands.html">Menu/Key commands</a><p>
<B>Syntax</B><p>
<p>
set.menu.item(mNAME,cA);<p>
<B>Description</B><p>
<p>
Adds an item with the name mNAME to the menu previously created using the <a href="set_menu.html">set.menu</a> command. The item is assigned to controller cA, so when the user selects it from the menu the test
command controller(cA) will be true.
<p>
<B>See also</B><p>
<a href="set_menu_item.html">set.menu.item</a><p>
<a href="setting_up_menus_and_keys.html">Setting up menus and keys</a><p>
</BODY></HTML>