Q: how to change menubar background color

Jeff Epler jepler at unpythonic.net
Sun Jul 4 10:27:27 EDT 2004


Tk uses the native windows menu control to draw the menubar.  This may
mean you're unable to change it.  If background= doesn't work, well,
you're probably stuck.

You can use a non-native menubar by creating a menu frame and packing a
bunch of menubuttons into it, but this won't look as nice as a native
menu, and probably won't work with the predefined alt-key bindings
(alt+f = file, etc).

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040704/4639288d/attachment.sig>


More information about the Python-list mailing list