AW: Re: [PyQt] removing a menu from the menubar

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Fri Dec 28 18:30:18 GMT 2007


Thank you.

-----Ursprüngliche Nachricht-----
Von: Oleg Klimov [mailto:omgtech at gmail.com]
Gesendet am: Freitag, 28. Dezember 2007 19:24
An: Ziegler Stefan
Cc: pyqt
Betreff: Re: [PyQt] removing a menu from the menubar


> But how do I unload/remove it from the menubar? I tried:
>  
> self.fileMenu.close()
>  
> But that's not working... 

Try self.fileMenu.deleteLater()



_______________________________________________
PyQt mailing list    PyQt at riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20071228/58be606f/attachment.html


More information about the PyQt mailing list