Changeset 93fe7e2 in sasview
- Timestamp:
- Feb 7, 2011 1:56:36 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:
- f9f4b65
- Parents:
- 1b3a5a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_toolbar.py
r1b3a5a9 r93fe7e2 20 20 self.AddLabelTool(GUIFRAME_ID.SAVE_ID, 'Save', save_bmp, shortHelp='Save') 21 21 self.AddSeparator() 22 self.image_book = wx.Image('images/bookmarks_list_add.png',23 wx.BITMAP_TYPE_PNG)24 bookmark_bmp =self.image_book.ConvertToBitmap()25 26 22 27 self.AddLabelTool(GUIFRAME_ID.BOOKMARK_ID, 'Bookmark', bookmark_bmp,28 shortHelp='Bookmark')29 23 bookmark_bmp = wx.ArtProvider.GetBitmap(wx.ART_ADD_BOOKMARK, wx.ART_TOOLBAR, 24 size=tbar_size) 25 self.AddLabelTool(GUIFRAME_ID.BOOKMARK_ID, 'Bookmark', bookmark_bmp,shortHelp='Bookmark') 30 26 self.AddSeparator() 31 32 27 zoom_in_bmp = wx.ArtProvider.GetBitmap(wx.ART_GO_UP, wx.ART_TOOLBAR, 33 28 size=tbar_size) … … 109 104 self.button_application.SetLabel(str(application_name)) 110 105 self.button_panel.SetLabel(str(panel_name)) 111 106 print "update_button", application_name, panel_name 112 107 def update_toolbar(self, panel=None): 113 108 """ 114 109 """ 115 110 if panel is None: 111 #self.Disable() 116 112 self.EnableTool(GUIFRAME_ID.PRINT_ID, False) 117 113 self.EnableTool(GUIFRAME_ID.UNDO_ID,False)
Note: See TracChangeset
for help on using the changeset viewer.