Re: Adjust a canvas as the window is resized

2008-03-10 Thread Peter Otten
K Viltersten wrote: > Do i need to set a callback to a canvas > in order to "listen" to the root window > being resized in order to make it adjust > its contents? > > If so, how? If not, how do i make the > canvas draw a line from one corner to > an other? import Tkinter as tk root = tk.Tk() ca

Re: adjust

2007-04-24 Thread A.T.Hofkamp
On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > How do i right adjust my output using python.I need a output > something like this: > DID= 0x01,0x02,0x03,0x05,0x06,0x07,0x2B,0x30,0x31,0x4D,0x4E, > 0x51,0x52,0x53,0x55, > minlength= 3, 3, 4, 2, 10, 10, 40, 2

Re: adjust

2007-04-24 Thread Michael Hoffman
[EMAIL PROTECTED] wrote: > How do i right adjust my output using python. http://docs.python.org/lib/typesseq-strings.html > minlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4, 1, > 2, 2, 1, 2, 1, 6, 3, 17, 1, Something like: >>> def write_sequence(label, sequence

Re: adjust

2007-04-24 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Hi, > How do i right adjust my output using python.I need a output > something like this: > DID= 0x01,0x02,0x03,0x05,0x06,0x07,0x2B,0x30,0x31,0x4D,0x4E, > 0x51,0x52,0x53,0x55, > minlength= 3, 3, 4, 2, 10, 10, 40, 2, 150, 4, 1, > 2, 2, 1,