Ignore:
Timestamp:
Aug 14, 2019 5:17:47 PM (2 years ago)
Author:
toby
Message:

more work on menu hot keys & ask to save on exit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r4085 r4093  
    42214221        self.HelpById = {}
    42224222        self.frame = frame
    4223         self.Append(wx.ID_ABOUT,'&About GSAS-II','')
     4223        self.Append(wx.ID_ABOUT,'&About GSAS-II',
     4224                        'Shows version and citation info')
    42244225        frame.Bind(wx.EVT_MENU, self.OnHelpAbout, id=wx.ID_ABOUT)
    42254226        if GSASIIpath.whichsvn():
    4226             helpobj = self.Append(wx.ID_ANY,'&Check for updates','')
     4227            helpobj = self.Append(wx.ID_ANY,'&Check for updates\tCtrl+U',
     4228                    'Updates to latest GSAS-II version')
    42274229            frame.Bind(wx.EVT_MENU, self.OnCheckUpdates, helpobj)
    4228             helpobj = self.Append(wx.ID_ANY,'&Regress to an old GSAS-II version','')
     4230            helpobj = self.Append(wx.ID_ANY,'&Regress to old GSAS-II version',
     4231                    'Installs previous GSAS-II version')
    42294232            frame.Bind(wx.EVT_MENU, self.OnSelectVersion, helpobj)
    42304233            # if GSASIIpath.svnTestBranch():
     
    42434246        self.AppendSeparator()
    42444247        if includeTree:
    4245             helpobj = self.Append(wx.ID_ANY,'Help on Data tree','')
     4248            helpobj = self.Append(wx.ID_ANY,'Help on Data tree',
     4249                'Web page on GSAS-II data structure')
    42464250            frame.Bind(wx.EVT_MENU, self.OnHelpById, id=helpobj.GetId())
    42474251            self.HelpById[helpobj.GetId()] = 'Data tree'
    4248         helpobj = self.Append(wx.ID_ANY,'Help on current data tree item','')
     4252        helpobj = self.Append(wx.ID_ANY,'Help on current data tree item\tF1',
     4253                'Web page on selected item in tree')
    42494254        frame.Bind(wx.EVT_MENU, self.OnHelpById, id=helpobj.GetId())
    42504255       
Note: See TracChangeset for help on using the changeset viewer.