diff --git a/JFSphoto.py b/JFSphoto.py index 98eaf0a..3ca3008 100644 --- a/JFSphoto.py +++ b/JFSphoto.py @@ -567,8 +567,14 @@ class Jfsphoto (object): def do_methods(self,panel): def cb(event): - print(tree.selection()) - # #panel.bcollect.invoke() + x = tree.selection()[0].split(' ') + nm = tree.item(x[0])["values"][1] + ## nm -> point + p = (nm - self.nm_left)*(1/self.nm_step) + print(f'nm {nm} point {p}') + + #panel.bcollect.invoke() + #self.df['m1']=config.rxData16 @@ -595,6 +601,9 @@ class Jfsphoto (object): tree.heading("interval",text='intervall',anchor=tk.W) tree.heading("last",text='last conc',anchor=tk.W) + + + einheiten = ['Mol','mmol','mymol'] e1 = tk.StringVar()