Re: Tkinter binding question

2012-06-20 Thread rantingrickjohnson
On Wednesday, June 20, 2012 12:07:04 PM UTC-5, Frederic Rentsch wrote: > [...] > Googling I chanced on an excellent introduction "Thinking in > Tkinter" [...] He sets out identifying a common problem with > tutorials: The problem is that the authors of the books want to rush > into telling me abou

Re: Tkinter binding question

2012-06-20 Thread Frederic Rentsch
On Tue, 2012-06-19 at 19:19 -0700, rantingrickjohn...@gmail.com wrote: > On Tuesday, June 19, 2012 10:55:48 AM UTC-5, Frederic Rentsch wrote: > > If I copy your event descriptors into my program, the button-release > > callback still fails. It works in your code, not in mine. Here is what > > my co

Re: Tkinter binding question

2012-06-19 Thread rantingrickjohnson
On Tuesday, June 19, 2012 10:55:48 AM UTC-5, Frederic Rentsch wrote: > If I copy your event descriptors into my program, the button-release > callback still fails. It works in your code, not in mine. Here is what > my code now looks like. It is somewhat more complicated than yours, > because I bind

Re: Tkinter binding question

2012-06-19 Thread Frederic Rentsch
Rick, Thank you for your thorough discussion. I tried your little program. Enter and leave work as expected. Pushing mouse buttons call leave-enter, exactly as it happened with my code. So that seems to be a default behavior. No big deal. Without the tracing messages it would go unnoticed. Releas

Re: Tkinter binding question

2012-06-18 Thread rantingrickjohnson
On Monday, June 18, 2012 1:21:02 PM UTC-5, Frederic Rentsch wrote: > Hi All, > > For most of an afternoon I've had that stuck-in-a-dead-end feeling > probing to no avail all permutations formulating bindings, trying to > make sense of manuals and tutorials. Here are my bindings: > >label_

Tkinter binding question

2012-06-18 Thread Frederic Rentsch
Hi All, For most of an afternoon I've had that stuck-in-a-dead-end feeling probing to no avail all permutations formulating bindings, trying to make sense of manuals and tutorials. Here are my bindings: label_frame.bind ('', self.color_selected) label_frame.bind ('', self.color_selectab