Hey all
I am trying to make GUI windows using Tkinter and have got stucked. Its exactly like an installation setup where you move to new windows . I have been unable to understand how to create multiple application windows in Tkinter.
I want that according to user input I should be directed to new screen belonging to a new class like follows :-
class c1 :
def __init__:
class c2:
def __init__:
if user :
root.destroy()
root1 = Tk()
a2 = c1(root1) #new application starts
root = Tk()
a = c2(root)
root.mainloop()
The error that I get is that c1 does not have Tk attribute. How can I create new screens ?
Is there any way or should I create dialogs ?
Please help ..........