Tkinter Canvas.create_line Windows/Linux difference for dashes
FloConsult SPRL
info at floconsult.be
Tue Oct 16 14:21:17 EDT 2001
Running the simple program hereunder:
import sys
from Tkinter import *
win=Tk()
can = Canvas(win)
can.pack(side=TOP, expand=NO)
can.config(height=200, width=200)
can.create_line(25,25,175,175,width=8, dash=30)
win.mainloop()
gives a dashed line under Linux, but a continuous line under Windows
(tried on NT, 98 and Me). Can somebody give me an advice on how to
obtain the same dashed effect on Windows ? Didn't find anything in tha
FAQs.
Many thanks in advance,
Isabelle.
--
/\`. /\`. FloConsult SPRL
/ \ `. / \ `. http://www.floconsult.be
/ \ .´ / \ .´ mailto:info at floconsult.be
´------´ ´------´ Tel. +32 2 390.07.89
More information about the Python-list
mailing list