Hello Nick,

Thank you for your reply.

It did put me on the trick to this

           self.menuGSound = self.menuBar().addMenu("Sound")

and it works.

it also brought me this

        self.menuSound.deleteLater()

and it works.

I think I could have figured out the .addMenu myself, but the .deleteLater()??????

Thanks again.


Frans.




Op 7/5/2010 1:39 PM, Nick Gaens schreef:
You could try to call menuBar.update() after having added / removed
menu's or actions to or from it..


On Sun, Jul 4, 2010 at 9:19 PM, F.A.Pinkse <[email protected]
<mailto:[email protected]>> wrote:

    Hi All,

    I want to add a menu at runtime to an already exsiting menubar.

    How do I do that?


    Tnanks

    Frans.


    _______________________________________________
    PyQt mailing list [email protected]
    <mailto:[email protected]>
    http://www.riverbankcomputing.com/mailman/listinfo/pyqt




--
Nick Gaens



_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to