canvas create polygon

From: ME (me_at_home.com)
Date: 03/18/04


Date: Thu, 18 Mar 2004 03:17:53 GMT

Hi again,

I tried the suggestion I got here and it worked,..... kinda

Im trying to draw a polygon made up of vertices I read out of a file.

I have done (for example):

canvas .c -width 100 -height 100
pack .c

lappend coords 0 0 50 0 50 10 10 10

.c create polygon $coords

in an interactive wish session and it works fine

I did the same thing as a procedure called by a button press and it dosent
work!
Any ideas?


Quantcast