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