TAB and Enter key in Tkinter

Scott Holmes scottholmes at sbcglobal.net
Fri Aug 8 21:08:30 EDT 2003


I've noticed that widgets in a Pmw toplevel are navigated by tab key.  I 
find I can tab between the entry fields and the buttons but hitting the 
enter key after moving to a button does not activate the button.  If 
possible, how do I configure buttons to accept and enter key event?
-- 
---------------------------------------------------------------------
Scott Holmes                   http://sholmes.ws
                                http://pages.sbcglobal.net/scottholmes
                                scottholmes at sbcglobal.net

   Independent Programmer/Analyst                  Passport 4GL
   PHP HTML Composer                PostgreSQL     Informix 4GL, SQL
---------------------------------------------------------------------
       There are more things in heaven and earth, Horatio,
              than are dreamt of in your philosophy
---------------------------------------------------------------------






More information about the Python-list mailing list