Changeset 2634 for trunk/GSASII.py
- Timestamp:
- Jan 16, 2017 4:41:14 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r2629 r2634 160 160 kind=wx.ITEM_NORMAL,text='&New project') 161 161 self.Bind(wx.EVT_MENU, self.OnFileClose, id=item.GetId()) 162 item = parent.Append( #not a good idea - reads all images as each is expanded! 163 help='Expand all items in GSAS-II data tree',id=wx.ID_ANY, 164 kind=wx.ITEM_NORMAL,text='Expand all') 165 self.Bind(wx.EVT_MENU,self.ExpandAll,id=item.GetId()) 162 166 item = parent.Append(wx.ID_PREFERENCES, text = "&Preferences") 163 167 self.Bind(wx.EVT_MENU, self.OnPreferences, item) … … 3317 3321 finally: 3318 3322 dlg.Destroy() 3323 3324 def ExpandAll(self,event): 3325 self.PatternTree.ExpandAll() 3319 3326 3320 3327 def ExitMain(self, event):
Note: See TracChangeset
for help on using the changeset viewer.