Changeset 1b3a5a9 in sasview
- Timestamp:
- Feb 7, 2011 3:46:22 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:
- 93fe7e2
- Parents:
- 68d48fa
- Location:
- guiframe
- Files:
-
- 14 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r73b3ae2 r1b3a5a9 1497 1497 ## Flag to tell the AUI manager to put this panel in the center pane 1498 1498 CENTER_PANE = True 1499 def __init__(self, parent, *args, **kwds): 1500 wx.Panel.__init__(self, parent, *args, **kwds) 1501 PanelBase.__init__(self, parent) 1499 1502 1500 1503 -
guiframe/gui_toolbar.py
r73b3ae2 r1b3a5a9 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 22 26 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')27 self.AddLabelTool(GUIFRAME_ID.BOOKMARK_ID, 'Bookmark', bookmark_bmp, 28 shortHelp='Bookmark') 29 26 30 self.AddSeparator() 31 27 32 zoom_in_bmp = wx.ArtProvider.GetBitmap(wx.ART_GO_UP, wx.ART_TOOLBAR, 28 33 size=tbar_size) … … 104 109 self.button_application.SetLabel(str(application_name)) 105 110 self.button_panel.SetLabel(str(panel_name)) 106 print "update_button", application_name, panel_name111 107 112 def update_toolbar(self, panel=None): 108 113 """ 109 114 """ 110 115 if panel is None: 111 #self.Disable()112 116 self.EnableTool(GUIFRAME_ID.PRINT_ID, False) 113 117 self.EnableTool(GUIFRAME_ID.UNDO_ID,False)
Note: See TracChangeset
for help on using the changeset viewer.