Doing the simplest thing with Tkinter Canvas

June Kim junaftnoon at nospamplzyahoo.com
Thu Jan 11 21:50:31 EST 2001


"penman" <pen_man at my-deja.com> wrote in message
news:93kgvf$3q3$1 at nnrp1.deja.com...
> How do you draw a point with Tkinter?
> I tried create_line(x1,y1,x1,y1) but it didn't show a point; I had to
> call create_line(x1,y1,x1+1,y1+1) or something instead.
>
> I don't think there is no way to do the simplest thing.
> Can anyone help me?
>
> Thanks in advance.
>
>
> Sent via Deja.com
> http://www.deja.com/

You could use create_oval with a small size.
But I don't know whether there is a method to draw a single
pixel on the canvas.

Best regards,

June.




More information about the Python-list mailing list