__peter__ at web.de
Sun Nov 20 13:22:35 CET 2005
Shi Mu wrote:
> Why I got a black polygon in the following code?
> How can I make it no-color filled?
> import Tkinter
> c = Tkinter.Canvas(width=220, height=220)
You can set the color explicitly (use "" to denote transparency):
c.create_polygon(60,60,100,60,100,100,60,120, fill="", outline="black")
I don't know why that isn't the default.
More information about the Python-list