I have the following code:
from Tkinter import *
def gui():
root = Tk()
root.configure(background = \'red\')
rightPanel = PanedWindow(borderwidt
What you are seeing is the highlight ring around the canvas -- something that changes color to show that the canvas has keyboard focus. Set it to zero with the highlightthickness
attribute:
canvas1 = Canvas(rightPanel, bg='black', highlightthickness=0)
Note that it could also be the canvas border. You might want to set borderwidth
to zero, too.