Q: how to change menubar background color

Itay L. itay at nolad.com
Mon Jul 5 04:43:03 EDT 2004


Thanks for the reply Jeff.


I will try to create a non native menubar as you suggested.

Itay.

Jeff Epler <jepler at unpythonic.net> wrote in 
news:mailman.400.1088951317.27577.python-list at python.org:

> 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
>



More information about the Python-list mailing list