mailr16742 - /branches/uf_redesign/gui/uf_objects.py


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

Header


Content

Posted by edward on June 08, 2012 - 08:41:
Author: bugman
Date: Fri Jun  8 08:41:38 2012
New Revision: 16742

URL: http://svn.gna.org/viewcvs/relax?rev=16742&view=rev
Log:
The GUI user functions now have a subtitle at the top stating the name of the 
user function.

This is to reinforce the user function naming system to the user, and also to 
clearly identify which
window belongs to which user function.


Modified:
    branches/uf_redesign/gui/uf_objects.py

Modified: branches/uf_redesign/gui/uf_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/uf_objects.py?rev=16742&r1=16741&r2=16742&view=diff
==============================================================================
--- branches/uf_redesign/gui/uf_objects.py (original)
+++ branches/uf_redesign/gui/uf_objects.py Fri Jun  8 08:41:38 2012
@@ -816,6 +816,13 @@
         text_elements = []
         text_types = []
 
+        # The user function name.
+        name = "The %s user function" % self.name
+        text = wx.StaticText(panel, -1, name, style=wx.TE_MULTILINE)
+        text.SetFont(font.subtitle)
+        text_elements.append(text)
+        text_types.append('title')
+
         # The synopsis.
         if self.uf_data.title:
             # The text.




Related Messages


Powered by MHonArc, Updated Fri Jun 08 09:00:02 2012