[Tkinter-discuss] Toplevel background

Vasilis Vlachoudis Vasilis.Vlachoudis at cern.ch
Tue Sep 6 03:41:41 EDT 2016


Hi all,

I have a window which I make full screen with the option

tk = Tk()
tk.attributes("-fullscreen", True)
c = Canvas(tk, background="Black")
c.pack(expand=YES, fill=BOTH, padx=0, pady=0)

and displays a full screen "Black" canvas. despite
I h ave padx=pady=0 I always get 1 pixel White frame all around.
I believe that it comes from the toplevel window. How can I remove this frame
or change its color to black

Thanks in advance
Vasilis


More information about the Tkinter-discuss mailing list