1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"../docbook-xml/docbookx.dtd"
[
<!ENTITY % myents SYSTEM "../fvwm.ent" >
%myents;
]>
<!-- $Id$ -->
<section id='DestroyMenu'>
<title>DestroyMenu</title>
<cmdsynopsis>
<command>DestroyMenu</command
><arg choice='opt'>recreate</arg
><arg choice='plain'
><replaceable>menu</replaceable
></arg>
</cmdsynopsis>
<para>Deletes a menu, so that subsequent references to it are no longer
valid. You can use this to change the contents of a menu during
an fvwm session. The menu can be rebuilt using
<fvwmref cmd="AddToMenu"/>.
The optional parameter
<fvwmopt cmd="DestroyMenu" opt="recreate"/>
tells fvwm not to throw away the menu completely but to throw away
all the menu items (including the title).</para>
<programlisting>DestroyMenu Utilities</programlisting>
</section>
|