1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="unsetmenu">
4
<refname>unsetmenu</refname>
5
<refpurpose> interactive button or menu or submenu de-activation</refpurpose>
8
<title>Calling Sequence</title>
9
<synopsis>unsetmenu(button,[nsub])
10
unsetmenu(gwin,button,[nsub])
14
<title>Arguments</title>
19
<para>a character string. The button name</para>
25
<para>integer. The number of graphic window where the button is installed</para>
32
integer. The number of submenu to de-activate (if any). If button has no sub-menu, <literal>nsub</literal> is ignored
39
<title>Description</title>
41
The function allows the user to deactivate buttons or menus created by
42
<literal>addmenu</literal> in the main or graphics windows command panels.
46
<title>Examples</title>
47
<programlisting role="example"><![CDATA[
4
<refname>unsetmenu</refname>
5
<refpurpose> interactive button or menu or submenu de-activation</refpurpose>
8
<title>Calling Sequence</title>
9
<synopsis>unsetmenu(button,[nsub])
10
unsetmenu(gwin,button,[nsub])
14
<title>Arguments</title>
19
<para>a character string. The button name</para>
25
<para>integer. The number of graphic window where the button is installed</para>
32
integer. The number of submenu to de-activate (if any). If button has no sub-menu, <literal>nsub</literal> is ignored
39
<title>Description</title>
41
The function allows the user to deactivate buttons or menus created by
42
<literal>addmenu</literal> in the main or graphics windows command panels.
46
<title>Examples</title>
47
<programlisting role="example"><![CDATA[
50
50
unsetmenu(gettext("File"), 3)
51
51
]]></programlisting>
53
<refsection role="see also">
54
<title>See Also</title>
55
<simplelist type="inline">
57
<link linkend="delmenu">delmenu</link>
60
<link linkend="setmenu">setmenu</link>
63
<link linkend="addmenu">addmenu</link>
53
<refsection role="see also">
54
<title>See Also</title>
55
<simplelist type="inline">
57
<link linkend="delmenu">delmenu</link>
60
<link linkend="setmenu">setmenu</link>
63
<link linkend="addmenu">addmenu</link>