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.
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits