Changeset 145


Ignore:
Timestamp:
Aug 5, 2010 2:37:03 PM (12 years ago)
Author:
vondreel
Message:

New menu items in atoms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r142 r145  
    1010import GSASIIphsGUI as G2phG
    1111
    12 [ wxID_ATOMSEDITADD, wxID_ATOMSEDITINSERT, wxID_ATOMSEDITDELETE,
    13 ] = [wx.NewId() for _init_coll_Atom_Items in range(3)]
     12[ wxID_ATOMSEDITADD, wxID_ATOMSEDITINSERT, wxID_ATOMSEDITDELETE, wxID_ATOMSREFINE,
     13    wxID_ATOMSMODIFY, wxID_ATOMSTRANSFORM,
     14] = [wx.NewId() for _init_coll_Atom_Items in range(6)]
    1415
    1516[ wxID_IMCALIBRATE, wxID_IMINTEGRATE, wxID_IMCLEARCALIB, wxID_SAVEINTG,
     
    6566        parent.Append(id=wxID_ATOMSEDITDELETE, kind=wx.ITEM_NORMAL,text='Delete atom',
    6667            help='Select atoms to delete first')
     68        parent.Append(id=wxID_ATOMSREFINE, kind=wx.ITEM_NORMAL,text='Set atom refinement flags',
     69            help='Select atoms to refine first')
     70        parent.Append(id=wxID_ATOMSMODIFY, kind=wx.ITEM_NORMAL,text='Modify atom parameters',
     71            help='Select atoms to modify first')
     72        parent.Append(id=wxID_ATOMSTRANSFORM, kind=wx.ITEM_NORMAL,text='Transform atoms',
     73            help='Select atoms to transform first')
    6774           
    6875    def _init_coll_IndPeaks_Items(self,parent):
     
    185192        self.SetCellBackgroundColour(r,c,color)
    186193        self.SetReadOnly(r,c,isReadOnly=readonly)
    187        
     194                       
    188195class GSNoteBook(wx.Notebook):
    189196    def __init__(self, parent, name='',size = None):
Note: See TracChangeset for help on using the changeset viewer.