Hi,
 
i am using Pmw's MainMenuBar and i want to have a menu named "Start" with an icon. I use the following code, only the name of the menu displayed in the gui reads "(Image)" as if trying to say that this menu has an image:
 

menubar = Pmw.MainMenuBar(mainWindow.root)
mainWindow.root.configure(menu = menubar)
self.icon=PhotoImage(file="./icons/Home24.gif")
menubar.addmenu('Start', '', traverseSpec='S', image=self.icon)

 

Pmw.MenuBar can display icons, but i cannot use it as it does not activate mnemonics for the main menus located directly on the menubar. For example, pressing Ctl+S will not drop down the start menu.

Any suggestions?

Any suggestions?