Ignore:
Timestamp:
Dec 9, 2019 2:30:49 PM (23 months ago)
Author:
toby
Message:

doc improvements; new scripting options (rev. sequential & set background file)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r4195 r4198  
    417417################################################################################
    418418class GSASII(wx.Frame):
    419     '''Define the main GSAS-II frame and its associated menu items
    420     '''
     419    '''Define the main GSAS-II frame and its associated menu items.
     420
     421    :param parent: reference to parent application
     422
     423    '''               
    421424    def MenuBinding(self,event):
    422425        '''Called when a menu is clicked upon; looks up the binding in table
     
    438441   
    439442    def _Add_FileMenuItems(self, parent):
     443        '''Add items to File menu
     444        '''
    440445        item = parent.Append(wx.ID_ANY,'&Open project...\tCtrl+O','Open a GSAS-II project file (*.gpx)')           
    441446        self.Bind(wx.EVT_MENU, self.OnFileOpen, id=item.GetId())
     
    471476       
    472477    def _Add_DataMenuItems(self,parent):
     478        '''Add items to Data menu
     479        '''
    473480        # item = parent.Append(
    474481        #     help='',id=wx.ID_ANY,
     
    577584       
    578585    def PreviewFile(self,filename):
    579         'confirm we have the right file'
     586        'utility to confirm we have the right file'
    580587        fp = open(filename,'r')
    581588        rdmsg = u'File '+ filename +u' begins:\n\n'
Note: See TracChangeset for help on using the changeset viewer.