[PyQt] removing a menu from the menubar

Oleg Klimov omgtech at gmail.com
Fri Dec 28 18:24:22 GMT 2007


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

Try self.fileMenu.deleteLater()





More information about the PyQt mailing list