Changeset 3888 for trunk/GSASIIphsGUI.py
- Timestamp:
- Apr 11, 2019 3:59:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r3850 r3888 5218 5218 if 'showRigidBodies' not in drawingData: 5219 5219 drawingData['showRigidBodies'] = True 5220 if 'showSlice' not in drawingData: 5221 drawingData['showSlice'] = False 5220 5222 if 'Plane' not in drawingData: 5221 5223 drawingData['Plane'] = [[0,0,1],False,False,0.0,[255,255,0]] … … 6249 6251 G2plt.PlotStructure(G2frame,data) 6250 6252 6253 def OnShowSlice(event): 6254 drawingData['showSlice'] = showCS.GetValue() 6255 G2plt.PlotStructure(G2frame,data) 6256 6251 6257 def OnViewPoint(event): 6252 6258 event.Skip() … … 6337 6343 6338 6344 showSizer.Add(line2Sizer) 6345 6346 line3Sizer = wx.BoxSizer(wx.HORIZONTAL) 6347 6348 showCS = wx.CheckBox(drawOptions,-1,label=' Show contour slice?') 6349 showCS.Bind(wx.EVT_CHECKBOX, OnShowSlice) 6350 showCS.SetValue(drawingData['showSlice']) 6351 line3Sizer.Add(showCS,0,WACV) 6352 6353 showSizer.Add(line3Sizer) 6354 6339 6355 return showSizer 6340 6356
Note: See TracChangeset
for help on using the changeset viewer.