Tkinter scrolling

2009-10-27 Thread Felipe Ochoa
So I've been trying to put Frederik Lundh's ScrolledFrame ( http://effbot.org/zone/tkinter-autoscrollbar.htm ) into a class, and have the frame do more useful things. I tried switching out the references to root to a frame, and moving it into a class. It runs, until you try to make the frame/canvas

Re: Tkinter Scrolling

2007-02-02 Thread D
> Here you are: > > --- > from Tkinter import * > > ## Main window > root = Tk() > ## Grid sizing behavior in window > root.grid_rowconfigure(0, weight=1) > root.grid_columnconfigure(0, weight=1) > ## Canvas > cnv = Canvas(root) > cnv.grid(ro

Re: Tkinter Scrolling

2007-02-02 Thread Eric Brunel
On Thu, 01 Feb 2007 20:26:08 +0100, D <[EMAIL PROTECTED]> wrote: > Bob Greschke wrote: >> The typical way to do it is to make a scrolling canvas and >> pack the buttons and other stuff into an empty Frame() and then pack >> the frame on to the canvas, which I haven't had to do yet. >> >> Bob > Than

Re: Tkinter Scrolling

2007-02-01 Thread D
Bob Greschke wrote: > On 2007-02-01 05:35:30 -0700, "D" <[EMAIL PROTECTED]> said: > > > I'm sure this is a simple question to the Tkinter experts - I have a > > very basic Tkinter application that consists of 1 master window and > > buttons within that window. My problem is that, I need to be abl

Re: Tkinter Scrolling

2007-02-01 Thread Bob Greschke
On 2007-02-01 05:35:30 -0700, "D" <[EMAIL PROTECTED]> said: > I'm sure this is a simple question to the Tkinter experts - I have a > very basic Tkinter application that consists of 1 master window and > buttons within that window. My problem is that, I need to be able to > scroll (up and down) wh

Tkinter Scrolling

2007-02-01 Thread D
I'm sure this is a simple question to the Tkinter experts - I have a very basic Tkinter application that consists of 1 master window and buttons within that window. My problem is that, I need to be able to scroll (up and down) when I get to the point that the buttons go off the screen. What's the