mailr13810 - /branches/gui_testing/gui/pipe_editor.py


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

Header


Content

Posted by edward on July 21, 2011 - 16:28:
Author: bugman
Date: Thu Jul 21 16:28:09 2011
New Revision: 13810

URL: http://svn.gna.org/viewcvs/relax?rev=13810&view=rev
Log:
Added a hybridise button to the data pipe editor.


Modified:
    branches/gui_testing/gui/pipe_editor.py

Modified: branches/gui_testing/gui/pipe_editor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/pipe_editor.py?rev=13810&r1=13809&r2=13810&view=diff
==============================================================================
--- branches/gui_testing/gui/pipe_editor.py (original)
+++ branches/gui_testing/gui/pipe_editor.py Thu Jul 21 16:28:09 2011
@@ -165,6 +165,13 @@
         button_sizer.Add(button, 1, wx.ALL|wx.EXPAND, 0)
         self.Bind(wx.EVT_BUTTON, self.gui.user_functions.pipe.delete, button)
 
+        # The hybridise button.
+        button = wx.lib.buttons.ThemedGenBitmapTextButton(self, -1, None, " 
Hybridise")
+        button.SetBitmapLabel(wx.Bitmap(icon_22x22.pipe_hybrid, 
wx.BITMAP_TYPE_ANY))
+        button.SetToolTipString("Hybridise data pipes.")
+        button_sizer.Add(button, 1, wx.ALL|wx.EXPAND, 0)
+        self.Bind(wx.EVT_BUTTON, self.gui.user_functions.pipe.hybridise, 
button)
+
         # The switch button.
         button = wx.lib.buttons.ThemedGenBitmapTextButton(self, -1, None, " 
Switch")
         button.SetBitmapLabel(wx.Bitmap(icon_22x22.pipe_switch, 
wx.BITMAP_TYPE_ANY))




Related Messages


Powered by MHonArc, Updated Thu Jul 21 17:20:02 2011