Hi
   I want to make a GUI program which takes some input from user in
its method. I used TkToplevel to create a new window. In TkToplevel I
created two TkEntry widget to take the required data from user. Now
there is two problems.
 How to take value from TkEntry of TopLevel to the method calling it ?

 After taking the value I want TkToplevel to exit. I made a Button in
TkToplevel by pressing TkToplevel should exits.I used "command {exit}"
But by pressing that button whole program exit. I want only Toplevel
to exit

 what command should i give in Button to exit only TkToplevel?

Thanks
sujeet