[ python-Bugs-941262 ] List with Canvas.create_line Option
arrow=LAST Broke
SourceForge.net
noreply at sourceforge.net
Sat Apr 24 07:37:29 EDT 2004
Bugs item #941262, was opened at 2004-04-24 06:31
Message generated for change (Comment added) made by bbrooks
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=941262&group_id=5470
Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian Brooks (bbrooks)
Assigned to: Martin v. Löwis (loewis)
Summary: List with Canvas.create_line Option arrow=LAST Broke
Initial Comment:
I'm working on a drawing tool. I've ported some code
over from TCL and there's one line that doesn't seem to
be working correctly.
I've attached the original TCL. I'm also attaching the
Python that doesn't seem to work exactly right.
----------------------------------------------------------------------
>Comment By: Brian Brooks (bbrooks)
Date: 2004-04-24 06:37
Message:
Logged In: YES
user_id=505215
I'm running Windows 2000 SP4.
----------------------------------------------------------------------
Comment By: Brian Brooks (bbrooks)
Date: 2004-04-24 06:35
Message:
Logged In: YES
user_id=505215
The line that doesn't seem to work is in the function
StrokeEnd(event)...
canvas.create_line(coords,tag='line',arrow=LAST,joinstyle=ROUND,smooth=TURN_ON)
coords is a list built from x,y tuples e.g.
[ (0,0), (1,1), (2,2) ]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=941262&group_id=5470
More information about the Python-bugs-list
mailing list