[Tkinter-discuss] stipple of rectange in Canvas on Mac

Kevin Walzer kw at codebykevin.com
Thu Jun 5 23:43:32 CEST 2008


Michael O'Donnell wrote:
> Hi all,
> 
>   I have code to stipple a rectange created in a canvas. The code
> works on Windows, but under Mac (using Python 2.5.2), no stippling
> occurs:
> 
> from Tkinter import *
> 
> tk = Tk()
> ac = Canvas(tk, bg="red")
> ac.pack(side=TOP, expand=YES,fill=BOTH)
> ac.create_rectangle(10, 10, 200, 200, fill="blue", stipple="gray12")
> tk.mainloop()
> 
> 
> Does anyone have any idea if this is a known issue, and if so, are there
> are ways around the problem?
> 
> Mick O'Donnell
> _______________________________________________

Stippling isn't supported under Aqua I'm not sure there's a known 
workaround.

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the Tkinter-discuss mailing list