[repost] Embedding menus in frames prevents alt+key defaults?

Tim Christian MrTJC at TimChristian.com
Wed Jun 20 11:07:42 EDT 2001


>>>>> "Tim" == Tim Christian <MrTJC at TimChristian.com> writes:

    Tim> Howdy, I'm learning how to use Python and Tkinter using Mark
    Tim> Lutz' _Programming_Python_ (2nd edition) and have run into an
    Tim> odd side effect.  It may be Tk specific (OT?), but I'll ask
    Tim> here anyway.  Lutz discusses the relative merits of embedding
    Tim> menus into top level windows versus frames.  The frames route
    Tim> seems like a good idea for reusable objects.  However, after
    Tim> I embed menus into frames, I notice that the menu items,
    Tim> though underlined, are no longer selectable via the Alt key
    Tim> (eg, Alt+F doesn't bring up the "File" menu, though the "F"
    Tim> character is underlined).  Is this typical behavior?  Perhaps
    Tim> it's just a problem under my development platform (Windows
    Tim> 2000, Python 2.1)?

    Tim> Thanks, Tim.




More information about the Python-list mailing list