Tkinter Question
Richard Chamberlain
richard_chamberlain at ntlworld.com
Tue Aug 15 02:05:44 EDT 2000
I'm not overly sure what you mean Darren,
If you're creating a wizard type interface surely you want to keep the
layout pretty much the same, so perhaps two buttons bottom right, and
Text in the top. Then it's just a matter of changing the contents of
these things.
Fortunately the marvellous resource known as John Grayson has a set of
source code which you can download at www.manning.com/grayson a bit of
which is a wizard type interface.
Enjoy,
Richard
> Darren Young wrote:
>
> If I have a little script that looks something like this:
>
> from Tkinter import *
>
> class doodle:
> def __init__(self, master):
> self.nextButton = Button(master, text="Next")
> seld.nextButton.pack()
>
> root = Tk()
> w = doodle(root)
> root.mainloop()
>
> I want the nextButton widget to "tear down" the current frame and pop
> up a new one, perhaps from another class, how can this be done?
>
> If I had a class like that I want to display:
>
> class doddle:
> def __init__(self, master):
> self.prevButton = Button(root, text="Prev")
> self.prevButton.pack()
>
> I want doodle to display doddle (on the next) and doddle to display
> doodle (on the prev). Perhaps my thought process is completely wrong
> to tart with. I'm trying to put together a 'wizard' type interface to
> install an app. Any expert advice would be most appreciated..
>
> Thanks,
>
> Darren Young
More information about the Python-list
mailing list