mailr26295 - /trunk/gui/wizards/wiz_objects.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 16, 2014 - 10:46:
Author: bugman
Date: Thu Oct 16 10:46:02 2014
New Revision: 26295

URL: http://svn.gna.org/viewcvs/relax?rev=26295&view=rev
Log:
Improvement for all wizards and user functions in the relax GUI.

The focus is now set on the currently displayed page of the wizard.  This 
allows the keyboard to be
active without requiring a mouse click.  Now text can be instantly input into 
the first text control
and the tab key can jump between elements.  As the GUI user functions are 
wizards with a single
page, this is a significant usability improvement for the GUI.


Modified:
    trunk/gui/wizards/wiz_objects.py

Modified: trunk/gui/wizards/wiz_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/wizards/wiz_objects.py?rev=26295&r1=26294&r2=26295&view=diff
==============================================================================
--- trunk/gui/wizards/wiz_objects.py    (original)
+++ trunk/gui/wizards/wiz_objects.py    Thu Oct 16 10:46:02 2014
@@ -635,6 +635,9 @@
         # Execute the page's on_init() method.
         self._pages[i].on_init()
 
+        # Set the focus to this page to allow the keyboard to be functional 
without a mouse click.
+        self._pages[i].SetFocus()
+
 
     def _go_back(self, event=None):
         """Return to the previous page.




Related Messages


Powered by MHonArc, Updated Thu Oct 16 11:00:02 2014