Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36604
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-01-10 21:43 -0800 |
| References | <f393c060-3017-420a-8ead-e790d36a302d@googlegroups.com> <mailman.378.1357845233.2939.python-list@python.org> |
| Subject | Re: How to change colors of multiple widgets after hovering in Tkinter |
| From | Rick Johnson <rantingrickjohnson@gmail.com> |
| Message-ID | <mailman.387.1357882989.2939.python-list@python.org> (permalink) |
On Thursday, January 10, 2013 1:13:38 PM UTC-6, Peter Otten wrote: > mountdoom wrote: > > I´m trying to make a script, which will change the background and > > foreground color of widgets after hovering. Peter's advice is spot on except you may want ALL widgets to change colors on <ENTER> and <LEAVE> events. If you want all widgets use the "w.bind_all" method instead of "w.bind". Also check out the "w.bind_class" method to confine bindings to one particular class of widget (like a Tkinter.Button).
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
How to change colors of multiple widgets after hovering in Tkinter mountdoom12@gmail.com - 2013-01-10 10:32 -0800
Re: How to change colors of multiple widgets after hovering in Tkinter Peter Otten <__peter__@web.de> - 2013-01-10 20:13 +0100
Re: How to change colors of multiple widgets after hovering in Tkinter Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-10 21:43 -0800
Re: How to change colors of multiple widgets after hovering in Tkinter Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-10 21:43 -0800
csiph-web