Changeset 1545 for trunk/GSASIIgrid.py
- Timestamp:
- Oct 27, 2014 2:06:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIgrid.py
r1529 r1545 134 134 [ wxID_RIGIDBODYADD,wxID_DRAWDEFINERB,wxID_RIGIDBODYIMPORT,wxID_RESIDUETORSSEQ, 135 135 wxID_AUTOFINDRESRB,wxID_GLOBALRESREFINE,wxID_RBREMOVEALL,wxID_COPYRBPARMS, 136 wxID_GLOBALTHERM, 137 ] = [wx.NewId() for item in range( 9)]136 wxID_GLOBALTHERM,wxID_VECTORBODYADD 137 ] = [wx.NewId() for item in range(10)] 138 138 139 139 [ wxID_RENAMESEQSEL,wxID_SAVESEQSEL,wxID_SAVESEQSELCSV,wxID_PLOTSEQSEL, … … 3123 3123 self.ConstraintEdit.Append(id=wxID_FUNCTADD, kind=wx.ITEM_NORMAL,text='Add New Var', 3124 3124 help='Add variable composed of existing parameter') 3125 self.PostfillDataMenu() 3125 3126 3126 3127 # item = self.ConstraintEdit.Append(id=wx.ID_ANY,kind=wx.ITEM_NORMAL,text='Update GUI') … … 3132 3133 # self.Bind(wx.EVT_MENU,UpdateGSASIIconstrGUI,id=item.GetId()) 3133 3134 3134 self.PostfillDataMenu()3135 3136 3135 # Rigid bodies 3137 self.VectorRBEdit = wx.Menu(title='') 3138 self.VectorRBEdit.Append(id=wxID_RIGIDBODYADD, kind=wx.ITEM_NORMAL,text='Add rigid body', 3139 help='Add vector rigid body') 3136 self.RigidBodyMenu = wx.MenuBar() 3137 self.PrefillDataMenu(self.RigidBodyMenu,helpType='Rigid bodies') 3140 3138 self.ResidueRBMenu = wx.Menu(title='') 3141 3139 self.ResidueRBMenu.Append(id=wxID_RIGIDBODYIMPORT, kind=wx.ITEM_NORMAL,text='Import XYZ', … … 3145 3143 self.ResidueRBMenu.Append(id=wxID_RIGIDBODYADD, kind=wx.ITEM_NORMAL,text='Import residues', 3146 3144 help='Import residue rigid bodies from macro file') 3147 3148 self.RigidBodyMenu = wx.MenuBar() 3149 self.PrefillDataMenu(self.RigidBodyMenu,helpType='Rigid bodies') 3150 self.RigidBodyMenu.Append(menu=self.VectorRBEdit, title='Edit') 3145 self.RigidBodyMenu.Append(menu=self.ResidueRBMenu, title='Edit Body') 3151 3146 self.PostfillDataMenu() 3152 3147 3148 self.VectorBodyMenu = wx.MenuBar() 3149 self.PrefillDataMenu(self.VectorBodyMenu,helpType='Vector rigid bodies') 3150 self.VectorRBEdit = wx.Menu(title='') 3151 self.VectorRBEdit.Append(id=wxID_VECTORBODYADD, kind=wx.ITEM_NORMAL,text='Add rigid body', 3152 help='Add vector rigid body') 3153 self.VectorBodyMenu.Append(menu=self.VectorRBEdit, title='Edit Vector Body') 3154 self.PostfillDataMenu() 3155 3156 3153 3157 # Restraints 3154 3158 self.RestraintTab = wx.Menu(title='') … … 3696 3700 # self.TextureEdit.Append(id=wxID_REFINETEXTURE, kind=wx.ITEM_NORMAL,text='Refine texture', 3697 3701 # help='Refine the texture coefficients from sequential Pawley results') 3702 # N.B. Binding is now commented out 3698 3703 self.TextureEdit.Append(id=wxID_CLEARTEXTURE, kind=wx.ITEM_NORMAL,text='Clear texture', 3699 3704 help='Clear the texture coefficients' )
Note: See TracChangeset
for help on using the changeset viewer.