Changeset a1a252e in sasview
- Timestamp:
- Apr 12, 2011 3:32:49 PM (14 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- be738e3
- Parents:
- 0a2fdca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_toolbar.py
r1b1bbf9 ra1a252e 47 47 button_type = wx.ITEM_NORMAL 48 48 49 self.AddSeparator()50 49 reset_im = GUIFRAME_ICON.RESET_ICON 51 50 reset_im.Rescale(tbar_size[0], tbar_size[1], wx.IMAGE_QUALITY_HIGH) … … 93 92 self.AddSeparator() 94 93 #add button for the current application 95 self.button_application = wx.StaticText(self, -1, 'Welcome') 96 self.button_application.SetForegroundColour('black') 97 self.button_application.SetBackgroundColour('#1874CD') 98 hint = 'Active Application' 99 self.button_application.SetToolTipString(hint) 100 self.AddControl(self.button_application) 101 self.AddSeparator() 102 #add button for the panel on focus 103 self.button_panel = wx.StaticText(self, -1, 'No Panel') 104 self.button_panel.SetForegroundColour('black') 105 self.button_panel.SetBackgroundColour('#90EE90') 106 hint = 'Panel on Focus' 107 self.button_panel.SetToolTipString(hint) 108 self.AddControl(self.button_panel) 94 #self.button_application = wx.StaticText(self, -1, 'Welcome') 95 #self.button_application.SetForegroundColour('black') 96 #self.button_application.SetBackgroundColour('#1874CD') 97 #hint = 'Active Application' 98 #self.button_application.SetToolTipString(hint) 99 #self.AddControl(self.button_application) 100 #self.AddSeparator() 101 109 102 self._bookmark_bt = PlateButton(self, -1, 'bookmark', 110 103 GUIFRAME_ICON.BOOKMARK_ICON.ConvertToBitmap(), … … 121 114 122 115 self.SetToolBitmapSize(tbar_size) 116 self.AddSeparator() 117 #add button for the panel on focus 118 self.button_panel = wx.StaticText(self, -1, 'No Panel', 119 style=wx.SUNKEN_BORDER|wx.ALIGN_LEFT) 120 #self.button_panel.SetForegroundColour('black') 121 #self.button_panel.SetBackgroundColour('white') 122 button_panel_font = self.button_panel.GetFont() 123 button_panel_font.SetWeight(wx.BOLD) 124 self.button_panel.SetFont(button_panel_font) 125 #self.button_panel.SetClientSize((80,20)) 126 hint = 'Control Panel on Focus' 127 self.button_panel.SetToolTipString(hint) 128 self.AddControl(self.button_panel) 129 123 130 self.Realize() 124 131 … … 142 149 """ 143 150 """ 144 self.button_application.SetLabel(str(application_name))151 #self.button_application.SetLabel(str(application_name)) 145 152 self.button_panel.SetLabel(str(panel_name)) 146 153
Note: See TracChangeset
for help on using the changeset viewer.