tkinter canvas

2006-04-04 Thread fxe

Hi,
  I am using tkinter and I have a canvas that with several rectangles drawn
on it. The rectangles need to have bindings to move and resize them. No
problem here, but I also need to display a grid on the same canvas, for
which I am using create_line. My problem is I do not want the grid lines to
be able to move and resize .

Is this doable or any suggestions on an alternative.Maybe another way to
display my grid on top of the canvas?

Tom

--
View this message in context: 
http://www.nabble.com/tkinter-canvas-t1395807.html#a3753823
Sent from the Python - python-list forum at Nabble.com.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: tkinter canvas

2006-04-04 Thread fxe

Hi John , thanks a million for the info.Looking at your solution I am sure
this would work. After struggling with this for the past few hours I found
another way just before reading your post. Its as simple as :

canvas.create_line(x1,y1,x2,y2,fill='#00',state=DISABLED) 

Thanks again,

Tom
--
View this message in context: 
http://www.nabble.com/tkinter-canvas-t1395807.html#a3755397
Sent from the Python - python-list forum at Nabble.com.

-- 
http://mail.python.org/mailman/listinfo/python-list