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

Michael O'Donnell michael.odonnell at uam.es
Thu Jun 5 23:19:50 CEST 2008


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


More information about the Tkinter-discuss mailing list