tkinter socket client ?
Tonino
tonino.greco at gmail.com
Tue Jan 25 08:18:43 EST 2005
Hi,
thanks for this info - I had to abandon the createfilehandler() method
as it is not supported in windows and the GUI "might" be used there at
some time ...
So - I went the threading route - works well - for now - so I will
stick to it ...
BUT - the next question:
In the Text() widget - why - when the text scrolls off the screen -
does the window not follow it ?
I have added a scrollbar to it :
self.center_frame = Frame(self.top_frame, background="tan",
relief=RIDGE)
self.text=Text(self.center_frame,background='white')
scroll=Scrollbar(self.center_frame)
self.text.configure(yscrollcommand=scroll.set)
self.text.pack(side=LEFT, fill=BOTH, expand=YES)
scroll.pack(side=RIGHT,fill=Y)
self.center_frame.pack(side=RIGHT, expand=YES, fill=BOTH)
but the window does not scroll to follow the text ?
Any ideas ?
Thanks
Tonino
More information about the Python-list
mailing list