Ignore:
Timestamp:
Apr 2, 2020 1:44:42 PM (3 years ago)
Author:
vondreele
Message:

adding fullrmc View & Execute methods. Still to do Setup.
Replace SetText? with SetItemLabel? for the Refine menu item . SetText? is obsolete
remove Load/Save? menu items in RMC tab - won't be used
put in citation info for RMCProfile & fullrmc
remove G2frame from RMCProfile Make routines in G2pwdr. It's a wx object & shouldn't be in there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4379 r4389  
    391391       
    392392###############################################################################
    393 # GUI creation
     393#### GUI creation
    394394###############################################################################
    395395def GSASIImain(application):
     
    441441
    442442################################################################################
    443 # Create main frame (window) for GUI
     443#### Create main frame (window) for GUI
    444444################################################################################
    445445class GSASII(wx.Frame):
     
    599599        if seqSetting:
    600600            for item in self.Refine:
    601                 item.SetText('Se&quential refine\tCtrl+R')
     601                item.SetItemLabel('Se&quential refine\tCtrl+R')    #might fail on old wx
    602602            seqMode = True
    603603        else:
    604604            for item in self.Refine:
    605                 item.SetText('&Refine\tCtrl+R')
     605                item.SetItemLabel('&Refine\tCtrl+R')    #might fail on old wx
    606606            seqMode = False
    607607        for menu,Id in self.ExportSeq:
     
    58355835       
    58365836        #Phase / fullrmc & RMCprofile (Reverse Monte Carlo method) tab
    5837         G2G.Define_wxId('wxID_SETUPRMC','wxID_LOADRMC','wxID_SAVERMC','wxID_RUNRMC','wxID_VIEWRMC' )       
     5837        G2G.Define_wxId('wxID_SETUPRMC','wxID_RUNRMC','wxID_VIEWRMC' )       
    58385838        self.FRMCMenu = wx.MenuBar()
    58395839        self.PrefillDataMenu(self.FRMCMenu)
     
    58425842        self.FRMCMenu.Append(menu=self.FRMCDataEdit, title='Operations')
    58435843        self.FRMCDataEdit.Append(G2G.wxID_SETUPRMC,'Setup RMC','Setup new fullrmc or RMCprofile file')
    5844         self.FRMCDataEdit.Append(G2G.wxID_LOADRMC,'Load','Load fullrmc or RMCprofile file')
    5845         self.FRMCDataEdit.Append(G2G.wxID_SAVERMC,'Save','Save fullrmc or RMCprofile file')
    58465844        self.FRMCDataEdit.Append(G2G.wxID_RUNRMC,'Execute','Run fullrmc or RMCprofile file')
    58475845        self.FRMCDataEdit.Append(G2G.wxID_VIEWRMC,'View','View fullrmc or RMCprofile results')
Note: See TracChangeset for help on using the changeset viewer.