[Tutor] Question about Frames and Scrollbars

jfouhy at paradise.net.nz jfouhy at paradise.net.nz
Wed Apr 13 00:10:34 CEST 2005


A couple of options...

You can pack a scrollbar on the right hand side of the containing frame and use
the yscrollcommand option to associate it with the frame --- see Fredrik Lundh's
Tkinter pages for an example.

Or you could grab Python MegaWidgets from http://pmw.sourceforge.com/ and use a
Pmw.ScrolledFrame instead, which will do the scrollbars for you automatically.
(this is my recommended option)

-- 
John.


More information about the Tutor mailing list