<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=734590317-28122007><FONT face=Arial
size=2>Hi</FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial size=2>I began to write
some python plugins for QGIS. During the initialisation of the plugin I add
a menu with:</FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial size=2>self.fileMenu =
self.iface.getMainWindow().menuBar().addMenu("&DM01-Verifikation")</FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial
size=2>self.fileMenu.addAction(self.action1)<BR>
self.fileMenu.addAction(self.action2)</FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial size=2>But how do I
unload/remove it from the menubar? I tried:</FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial
size=2>self.fileMenu.close()</FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial size=2>But that's not
working... </FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial size=2>Thanks for any
help.</FONT></SPAN>
</DIV>
<DIV><SPAN class=734590317-28122007><FONT face=Arial size=2>Stefan</FONT>
</DIV>
<P>
</P></SPAN>
<DIV><SPAN class=734590317-28122007></SPAN><SPAN
class=734590317-28122007></SPAN><SPAN class=734590317-28122007></SPAN><SPAN
class=734590317-28122007></SPAN><FONT face=Arial size=2></FONT>
</DIV>
<P>
<FONT face=Arial size=2>Mit freundlichem Gruss</FONT> <BR>
<FONT face=Arial
size=2>Stefan Ziegler</FONT> <BR>
<FONT face=Arial size=2>Leiter Aufsicht</FONT>
</P>
<P><FONT face=Arial size=2>Kanton Solothurn</FONT> <BR>
<FONT face=Arial
size=2>Bau- und Justizdepartement</FONT> <BR>
<FONT face=Arial size=2>Amt für
Geoinformation</FONT> <BR>
<FONT face=Arial size=2>Rötistrasse 4</FONT> <BR>
<FONT
face=Arial size=2>4501 Solothurn</FONT> <BR>
<FONT face=Arial size=2>Telefon 032
627 75 96</FONT> <BR>
<FONT face=Arial size=2>Telefax 032 627 75 98</FONT>
<BR>
<FONT face=Arial size=2>stefan.ziegler@bd.so.ch</FONT> <BR>
<FONT face=Arial
size=2><A target=_blank href="http://www.so.ch/">http://www.so.ch</A></FONT>
</P>
<DIV>
</DIV></BODY></HTML>