Changeset 4968 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jun 21, 2021 5:58:24 PM (5 months ago)
Author:
toby
Message:

finish hist/phase tree entry; create new help file for it(incomplete)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4967 r4968  
    94879487        SetPhaseWindow(Texture,mainSizer)
    94889488
    9489 ##### DData routines - GUI stuff in GSASIIddataGUI.py ################################################################################
     9489##### DData routines - GUI stuff in GSASIIddataGUI.py. Used for Phase/data "Edit Phase" menu
    94909490    def OnHklfAdd(event):
    94919491        keyList = data['Histograms'].keys()
     
    1283712837        G2frame.Bind(wx.EVT_MENU, OnUseBilbao, id=G2G.wxID_USEBILBAOMAG)
    1283812838        G2frame.Bind(wx.EVT_MENU, OnValidProtein, id=G2G.wxID_VALIDPROTEIN)
    12839         # Data
    12840         FillSelectPageMenu(TabSelectionIdDict, G2frame.dataWindow.DataMenu)
    12841         G2frame.Bind(wx.EVT_MENU, OnDataUse, id=G2G.wxID_DATAUSE)
    12842         G2frame.Bind(wx.EVT_MENU, OnDataCopy, id=G2G.wxID_DATACOPY)
    12843         G2frame.Bind(wx.EVT_MENU, OnDataCopyFlags, id=G2G.wxID_DATACOPYFLAGS)
    12844         G2frame.Bind(wx.EVT_MENU, OnSelDataCopy, id=G2G.wxID_DATASELCOPY)
    12845         G2frame.Bind(wx.EVT_MENU, OnPwdrAdd, id=G2G.wxID_PWDRADD)
    12846         G2frame.Bind(wx.EVT_MENU, OnHklfAdd, id=G2G.wxID_HKLFADD)
    12847         G2frame.Bind(wx.EVT_MENU, OnDataDelete, id=G2G.wxID_DATADELETE)
    12848         G2frame.Bind(wx.EVT_MENU, OnDataApplyStrain, id=G2G.wxID_DATADIJ)
     12839        # Data (unless Hist/Phase tree entry shown)
     12840        if not GSASIIpath.GetConfigValue('SeparateHistPhaseTreeItem',False):
     12841            FillSelectPageMenu(TabSelectionIdDict, G2frame.dataWindow.DataMenu)
     12842            G2frame.Bind(wx.EVT_MENU, OnDataUse, id=G2G.wxID_DATAUSE)
     12843            G2frame.Bind(wx.EVT_MENU, OnDataCopy, id=G2G.wxID_DATACOPY)
     12844            G2frame.Bind(wx.EVT_MENU, OnDataCopyFlags, id=G2G.wxID_DATACOPYFLAGS)
     12845            G2frame.Bind(wx.EVT_MENU, OnSelDataCopy, id=G2G.wxID_DATASELCOPY)
     12846            G2frame.Bind(wx.EVT_MENU, OnPwdrAdd, id=G2G.wxID_PWDRADD)
     12847            G2frame.Bind(wx.EVT_MENU, OnHklfAdd, id=G2G.wxID_HKLFADD)
     12848            G2frame.Bind(wx.EVT_MENU, OnDataDelete, id=G2G.wxID_DATADELETE)
     12849            G2frame.Bind(wx.EVT_MENU, OnDataApplyStrain, id=G2G.wxID_DATADIJ)
    1284912850        # Atoms
    1285012851        FillSelectPageMenu(TabSelectionIdDict, G2frame.dataWindow.AtomsMenu)
Note: See TracChangeset for help on using the changeset viewer.