stipple, hot keys OK in Linux, no effect on Windows python

Greg McFarlane gregm at iname.com
Thu May 29 22:54:33 EDT 2003


As for your hot keys problem, it looks like you want native menu
support.  Use Pmw.MainMenuBar instead of Pmw.MenuBar.

timothy.williams at nvl.army.mil (Tim Williams) wrote in message news:<faf44c99.0305051836.722b9a4 at posting.google.com>...
> Also, I have a Pmw.menubar with a couple of items. The hotkeys work
> under Linux for the menu, but not under Windows. The hotkeys for IDLE
> do however work under Windows.
> 
>         self.menubar=Pmw.MenuBar(self)
>         menubar=self.menubar
>         menubar.pack(side='top', fill='x')
>         menubar.addmenu('File', 'File menu')
>         menubar.addmenuitem('File', 'command', label='Dump file',
>                             command=self.openfiles)
>         menubar.addmenuitem('File', 'command', label='Exit',
>                             traverseSpec='x',
>                             command=self.quit)
> 
> 
> Is this a limitation in Windows? I've tried this on Win98 and W2000.
> 
> Thanks for any help.




More information about the Python-list mailing list