[Tkinter-discuss] Change menubar color?

Juan Christian juan0christian at gmail.com
Mon Oct 27 21:10:20 CET 2014

I have this simple code:

from tkinter import *

root = Tk()
root.title("Steam Trader")
root.minsize(500, 800)
root.maxsize(500, 0)

menubar = Menu(root)
filemenu = Menu(menubar, tearoff=0)
filemenu.add_command(label="Open", command=None)
filemenu.add_command(label="Save", command=None)
menubar.add_cascade(label="File", menu=filemenu)

root.config(bg='#2A2C2B', menu=menubar)

And I want to change the menu color, is it possible?

[image: Inline image 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20141027/bcd6e071/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 12703 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20141027/bcd6e071/attachment.png>

More information about the Tkinter-discuss mailing list