Hi, I was wondering if someone could give me a hand with deleting a menu: #This creates the menu: menuname='test1' MenuToDelete = c.frame.menu.createNewMenu(menuname)
#Then i try to delete it with several comands found in leopyref: MenuToDelete.deleteMenu(menuname) MenuToDelete.destroyMenu(menuname) #And then: c.frame.top.leo_menubar.repaint() But cant remove the new created menu from the menu bar. Using Qt. Thank you. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
