Sunday, 15 September 2013

Python: Set Color for Tkinter Button using .grid()

Python: Set Color for Tkinter Button using .grid()

using the Python 2.7 Tkinter Grid Layouter, i would like to do something like
root.button = Button(root, bg = 'green', ....)
root.button.grid(...)
in order to get a green button. Running this, it doesn't bring up any
errors, but the button does not take the desired color. Any suggestions
greatly appreciated!

No comments:

Post a Comment