Alan Gauld wrote:
> I think he has a reference but just couldn't see how you could draw
> a 4 cornered shape with only two corners specified.
>
And I assumed no reference, since references usually spell out the
meaning of parameters.
--
Bob Gailer
510-978-4454
___
"Bob Gailer" <[EMAIL PROTECTED]> wrote
> Asrarahmed Kadri wrote:
>> I am not able to understand why two pairs of co-ordinates are
>> supplied?? The rectangle requires 4 co-ordinate pairs, Isnt it??
> "6.9. The canvas rectangle object - Each rectangle is specified as
> two
> points: (x0, y0) is
Asrarahmed Kadri wrote:
>
> Hi all,
>
>
> Trying to draw a simple bar chart on canvas of Tkinter.
>
> Here is code:
>
>
> from Tkinter import *
>
> root = Tk()
>
> frame = Frame(root)
> frame.pack()
>
> canvas = Canvas(frame,height=400,width=400)
>
> canvas.create_line(50,350,350,350,width=
On 24/11/06, Asrarahmed Kadri <[EMAIL PROTECTED]> wrote:
> canvas.create_rectangle(50,340,250,330) # this is the first HORIZONTAL BAR
> canvas.pack ()
>
> root.mainloop()
> I am not able to understand why two pairs of co-ordinates are supplied?? The
> rectangle requires 4 co-ordinate pairs, Isnt
Hi all,
Trying to draw a simple bar chart on canvas of Tkinter.
Here is code:
from Tkinter import *
root = Tk()
frame = Frame(root)
frame.pack()
canvas = Canvas(frame,height=400,width=400)
canvas.create_line(50,350,350,350,width=2) # draws the X-axis
canvas.create_line(50,350,50,50,width=