Tkinter- Possibly a basic question

joshdw4 at gmail.com joshdw4 at gmail.com
Thu Jul 31 13:15:04 CEST 2008


On Jul 30, 6:48 pm, "Guilherme Polo" <ggp... at gmail.com> wrote:
> On Wed, Jul 30, 2008 at 6:33 PM,  <josh... at gmail.com> wrote:
> >...
>
> ...
>
> The second option is to not create the root there, instead, make App
> inherit Tk. I rarely see people doing this, but it works too. Here you
> won't need to store the parent in an instance attribute, given it is
> always accessible through self.master since you are subclassing Tk.
>
> ...
>
> --
> -- Guilherme H. Polo Goncalves

Excellent, this one was easy enough for me to understand/implement and
it worked. Thanks for the help.



More information about the Python-list mailing list