Re: [Tkinter-discuss] simple scrollbar... not so simple

2010-11-25 Thread Sorin Schwimmer
Mick, you saved me! My test code looks now like this (I hope HTML tags are honoured): from Tkinter import * r=Tk() tx=Text(r,width=6) # hosts the frames and allows scrollbar sb=Scrollbar(r,command=tx.yview) tx['yscrollcommand']=sb.set f=Frame(tx) # hosts my stuff tx.window_create(END,window=f) t

Re: [Tkinter-discuss] simple scrollbar... not so simple

2010-11-25 Thread Michael Lange
Hi, Thus spoketh Sorin Schwimmer unto us on Wed, 24 Nov 2010 15:30:34 -0800 (PST): > Mick, you're right, Tkinter frames are not scrollable. That's why I'm > nesting my frame into a Text widget... and am not getting anywhere :-( That's not exactly true, for example look at the Pmw.ScrolledFrame

Re: [Tkinter-discuss] simple scrollbar... not so simple

2010-11-24 Thread Sorin Schwimmer
Mick, you're right, Tkinter frames are not scrollable. That's why I'm nesting my frame into a Text widget... and am not getting anywhere :-( SxN ___ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinte

[Tkinter-discuss] simple scrollbar... not so simple

2010-11-23 Thread Sorin Schwimmer
Hi all, I have a list of checkboxes and label/entry pairs which I'd like to have in a scrollable widget. So I built something like this (in this example I put just labels): from Tkinter import * r=Tk() tx=Text(r) # hosts the frames and allows scrollbar sb=Scrollbar(r,command=tx.yview) tx['yscr