Can anyone tell me how to get rid of the white boxes around the buttons? I want the boxes to be blue so the buttons appear on an entirely blue panel at the bottom of the ffame. I'm using OSX 10.6.8 and Python 2.7. Thanks in advance.

from Tkinter import *

class App:
    def __init__(self):
        root = Tk()
        self.frame = Frame(root, background="blue")

        self.cnvs = Canvas(self.frame, width=800, height=800, background = "#faf0e6")

        self.btnTest = Button(self.frame, text="Test")
        self.btnTest.pack(side=LEFT, expand=1)

        self.btnClear = Button(self.frame, text="Clear Test")
        self.btnClear.pack(side=RIGHT, expand=1)


if __name__ == '__main__':

Is this blue enough ?

        self.btnClear = Button(
            self.frame, text="Clear Test", relief = FLAT,
            bg = "blue",highlightbackground="blue", fg="white")

Edited 2 Years Ago by Gribouillis

This question has already been answered. Start a new discussion instead.