Jitterbug no more.
[fvwm.git] / doc / commands / DestroyMenu.xml
blob4c132add3aa1faff5116d83ba538d75229c20d0e
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" >
6 %myents;
7 ]>
9 <!-- $Id: DestroyMenu.xml,v 1.3 2007/06/16 12:38:46 griph Exp $ -->
11 <section id='DestroyMenu'>
12 <title>DestroyMenu</title>
14 <cmdsynopsis>
15         <command>DestroyMenu</command
16         ><arg choice='opt'>recreate</arg
17         ><arg choice='plain'
18                 ><replaceable>menu</replaceable
19         ></arg>
20 </cmdsynopsis>
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>
34 </section>