Re: [Tutor] Change the font size of the lines and rectangle on aTkinter Canvas

2007-01-16 Thread Michael Lange
On Tue, 16 Jan 2007 09:56:27 + (GMT) ALAN GAULD <[EMAIL PROTECTED]> wrote: > > --- Asrarahmed Kadri <[EMAIL PROTECTED]> wrote: > > > Is there a method that redraws the toplevel windows that is > > holding the widgets > > Yes, you can issue an update() command to any widget. > Usually yo

Re: [Tutor] Change the font size of the lines and rectangle on aTkinter Canvas

2007-01-16 Thread ALAN GAULD
--- Asrarahmed Kadri <[EMAIL PROTECTED]> wrote: > Is there a method that redraws the toplevel windows that is > holding the widgets Yes, you can issue an update() command to any widget. Usually you don't need to as Tkinter figures out when things have changed and updates itself, but occasi

Re: [Tutor] Change the font size of the lines and rectangle on aTkinter Canvas

2007-01-16 Thread Alan Gauld
"Michael Lange" <[EMAIL PROTECTED]> wrote > If you only want to be able to resize the graph elements > into half and double size it is probably easiest to use the > Canvas.scale() method for this, like > from Tkinter import * c=Canvas() c.pack(fill='both', expand=1) r = c.

Re: [Tutor] Change the font size of the lines and rectangle on aTkinter Canvas

2007-01-16 Thread Michael Lange
On Tue, 16 Jan 2007 00:33:20 - "Alan Gauld" <[EMAIL PROTECTED]> wrote: > > "Asrarahmed Kadri" <[EMAIL PROTECTED]> wrote > > > I want to provide with a functionality of changing the font size, in > > this > > case the width of the lines. > Its not really the font size. fonts only apply to te

Re: [Tutor] Change the font size of the lines and rectangle on aTkinter Canvas

2007-01-16 Thread Asrarahmed Kadri
I want to change the coordinates because I was under the wrong impression; when I gave some thought then only I realised that the COORDINATES need to be changed in order to increase the dimensions of the GRAPH and in turn the entire frame, canvas, and the toplevel window that is holding the frame

Re: [Tutor] Change the font size of the lines and rectangle on aTkinter Canvas

2007-01-15 Thread Alan Gauld
"Asrarahmed Kadri" <[EMAIL PROTECTED]> wrote > I want to provide with a functionality of changing the font size, in > this > case the width of the lines. Its not really the font size. fonts only apply to text, its only the line width you want to change. However todo that I think the easiest way