Changeset 2083 for trunk/GSASII.py


Ignore:
Timestamp:
Dec 5, 2015 1:49:31 PM (7 years ago)
Author:
toby
Message:

Export multiple masks/controls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r2077 r2083  
    7373import GSASIIpwdGUI as G2pdG
    7474import GSASIIphsGUI as G2phsG
     75import GSASIIimgGUI as G2imG
    7576import GSASIIspc as G2spc
    7677import GSASIIstrMain as G2stMn
     
    20272028                self.Bind(wx.EVT_MENU, obj.Exporter, id=item.GetId())
    20282029                self.ExportLookup[item.GetId()] = typ # lookup table for submenu item
    2029                
    2030         #code to debug an Exporter. hard-coded the routine below, to allow a reload before use
     2030        item = imagemenu.Append(wx.ID_ANY,
     2031                        help='Export image controls and masks for multiple images',
     2032                        kind=wx.ITEM_NORMAL,
     2033                        text='Multiple image controls and masks')
     2034        self.Bind(wx.EVT_MENU, self.OnSaveMultipleImg, id=item.GetId())
     2035        #code to debug an Exporter. hard-code the routine below, to allow a reload before use
    20312036        # def DebugExport(event):
    20322037        #      print 'start reload'
     
    36783683            dlg.Destroy()
    36793684        return result
    3680 
     3685   
     3686    def OnSaveMultipleImg(self,event):
     3687        '''Select and save multiple image parameter and mask files
     3688        '''
     3689        G2IO.SaveMultipleImg(self)
     3690       
    36813691class GSASIImain(wx.App):
    36823692    '''Defines a wxApp for GSAS-II
Note: See TracChangeset for help on using the changeset viewer.