Putting a scrollbar on a frame

Matthew Dixon Cowles matt at mondoinfo.com
Wed Jul 18 15:28:58 EDT 2001


On 17 Jul 2001 19:46:29 -0700, Rob Neely <rneely at home.com> wrote:

>I've got a Tkinter app which places a bunch of buttons on a frame,
>where each button is a 100x100 image.  I'd like to put a scrollbar
>along the frame so when my number of buttons exceeds the screen size
>(about 30 or so), I can scroll down to see all of them...

[. . .]

>I also see that Pmw has a ScrolledFrame widget.  Is that my answer?

Rob,
Yes, it is. Pmw is a huge convenience to anyone doing Tkinter
programming. It will save you lots of work.

Regards,
Matt



More information about the Python-list mailing list