Is there a way to change the background of an option menu in tkinter?
This can be done quite simply by
root.configure(background='black')
Assuming root is the name of your window.
This question has been asked and answered before here on stackoverflow. Please, try searching the site before asking for future questions, if you still can't find the answer, go ahead and post. :-)
Okay everyone I found out how to do it by printing the option menu's config and looking through all the parameters. Turns out I had to add this:
<widget ref>.config(bg = "gray", highlightthickness = 0)