[Tutor] Tkinter Data Passing Problem

John Fouhy john at fouhy.net
Mon Oct 24 23:44:29 CEST 2005


On 25/10/05, mdcooper <mdcooper at uvic.ca> wrote:
> The problem is that when I specify that the frame be part of root the data
> appears in the entry boxes (using textvariable = StringVar()) but if a second
> Tk() root is specified, the entry boxes appear, but there is no data. I cannot
> figure out why.
>
> Can someone help?

I'm not sure if I understand exactly --- but it is generally an error
to make two root windows.  If you want to have additional windows on
your screen, look into the Toplevel() class.

--
John.


More information about the Tutor mailing list