Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65235
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-02-01 12:04 -0800 |
| References | <5e297400-3322-45aa-ab7e-016af083b259@googlegroups.com> |
| Message-ID | <2ef4b774-2b63-4eae-8dfa-0b91ffbab5e6@googlegroups.com> (permalink) |
| Subject | Re: Tkinter widgets into classes. |
| From | archie65@live.co.uk |
On Saturday, 1 February 2014 19:43:18 UTC, Lewis Wood wrote: > I was wandering if I could dynamically change my GUI and after a few searches on Google found the grid_remove() function. What I'm wandering now is if there is a way to group a lot of widgets up into one, and then use the one grid_remove function which will remove them all. > > > > Is it possible to do this in a class like this? > > > > class group1: > > label1=Label(text="Upon clicking the button").grid(row=0,column=0) > > label2=Label(text="The menu will dynamically change").grid(row=1,column=0) > > > > group1.grid_remove()
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-01 11:43 -0800
Re: Tkinter widgets into classes. archie65@live.co.uk - 2014-02-01 12:03 -0800
Re: Tkinter widgets into classes. archie65@live.co.uk - 2014-02-01 12:04 -0800
Re: Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-01 12:12 -0800
Re: Tkinter widgets into classes. Dave Angel <davea@davea.name> - 2014-02-01 16:52 -0500
Re: Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-01 14:12 -0800
Re: Tkinter widgets into classes. Dave Angel <davea@davea.name> - 2014-02-01 17:26 -0500
Re: Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-01 15:07 -0800
Re: Tkinter widgets into classes. "albert visser" <albert.visser@gmail.com> - 2014-02-02 01:46 +0100
Re: Tkinter widgets into classes. Terry Reedy <tjreedy@udel.edu> - 2014-02-01 20:26 -0500
Re: Tkinter widgets into classes. Christian Gollwitzer <auriocus@gmx.de> - 2014-02-02 11:22 +0100
Re: Tkinter widgets into classes. Lewis Wood <fluttershy363@gmail.com> - 2014-02-02 12:38 -0800
Re: Tkinter widgets into classes. David Hutto <dwightdhutto@gmail.com> - 2014-02-02 22:21 -0500
Re: Tkinter widgets into classes. Christian Gollwitzer <auriocus@gmx.de> - 2014-02-02 11:15 +0100
csiph-web