I had a little problem creating my GUI. When changing the background, I can change the whole background, as well as the background of shortcuts, etc., But when it comes to buttons and input fields, etc., there is a white area behind the button that I can not change: S
The problem is shown in the figure below.
(There is not enough reputation to publish the image, so I will link it)
http://www.thesite.dk/upload/media/tkinter.png
With code:
from Tkinter import *
background = "BLACK"
textColor = "WHITE"
root = Tk()
root.configure(bg=background)
Email = Label(root, text="Enter E-mail Address :", font=("Lucida Grande", 12), fg=textColor, background=background)
Email.grid(row=6, column=0, sticky=NW, padx=19)
EmailField = Entry(root, width=30)
EmailField.grid(row=6, column=0, columnspan=3, sticky=NW, padx=159)
EmailButton = Button(root, text="Mail It !", background=background)
EmailButton.grid(row=6, column=0, columnspan=6, sticky=NW, padx=389)
SM_Status = StringVar()
EmailStatus = Label(root, textvariable=SM_Status, font=("Lucida Grande", 12), fg=textColor, background=background)
EmailStatus.grid(row=6, column=2, sticky=NW, padx=20)
It may be a simple solution, but countless search queries and forum posts and forum posts will not go anywhere :( I hope you can help ...
And yes, I am using Mac OS X with python 2.6