On Mon, Jul 07, 2008 at 10:22:40AM -0700, gegard wrote:
                        .
                        .
                        .
> > ...2) Why can I not bind to arrow keys (Up in this example)? Arrow keys do
> > not change the list box... 
> Aha, the listbox doesn't get the focus, so the arrow keys and any other
> keyboard events affect some other widget - the
> last-visited-except-for-the-listbox as far as I can tell. So how can the
> listbox be made to accept and retain the focus?
                        .
                        .
                        .
<URL: http://infohost.nmt.edu/tcc/help/pubs/tkinter/focus.html >

Also, in terms of the code you posted earlier, you'll want to 
experiment with

  self.list.focus_set()
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to