Changeset 4003 for trunk/GSASIIdataGUI.py
- Timestamp:
- May 29, 2019 6:22:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r4001 r4003 6115 6115 6116 6116 def PlotSelectedColRow(calltyp=''): 6117 '''Called to plot a selected column or row. This is called after the event is processed 6118 so that the column or row gets selected. 6119 Single click on row: plots histogram 6120 Double click on row: plots V-C matrix 6121 Single or double click on column: plots values in column 6117 '''Called to plot a selected column or row by clicking or 6118 double-clicking on a row or column label. N.B. This is called 6119 after the event is processed so that the column or row has been 6120 selected. 6121 6122 :param str calltyp: ='single'/'double', specifies if this was 6123 a single- or double-click, where a single click on row 6124 plots histogram; Double click on row plots V-C matrix; 6125 Single or double click on column: plots values in column 6122 6126 ''' 6123 6127 cols = G2frame.dataDisplay.GetSelectedCols() … … 6154 6158 key = event.GetKeyCode() 6155 6159 rows = G2frame.dataDisplay.GetSelectedRows() 6156 print(key,rows)6160 #print(key,rows) 6157 6161 event.Skip() 6158 6162 wx.CallAfter(PlotSelectedColRow,'single')
Note: See TracChangeset
for help on using the changeset viewer.