PEATDB/Ekin/Ekin_main.py
def showStopFitFrame(self, parentframe):
        """Show the fit status frame while fitting"""
        if parentframe == None:
            self.count_win=Frame()
            self.count_win.pack()
        else:
            self.count_win=Frame(parentframe)
            self.count_win.grid(row=3,column=1,columnspan=2,sticky='news')
        Label(self.count_win,text='Iteration #').pack(fill=BOTH,side=LEFT)
        Label(self.count_win,textvariable=self.count).pack(fill=BOTH,side=LEFT)
        b=Button(self.count_win,text='Stop fit',command=self.stopFit,
                    relief=GROOVE,bg='#E55451',highlightbackground='#E55451')
        b.pack(fill=BOTH,side=LEFT)

        return
Show the fit status frame while fitting
Show the fit status frame while fitting
Show the fit status frame while fitting
def showStopFitFrame(self, parentframe):
        if parentframe == None:
            self.count_win=Frame()
            self.count_win.pack()
        else:
            self.count_win=Frame(parentframe)
            self.count_win.grid(row=3,column=1,columnspan=2,sticky='news')
        Label(self.count_win,text='Iteration #').pack(fill=BOTH,side=LEFT)
        Label(self.count_win,textvariable=self.count).pack(fill=BOTH,side=LEFT)
        b=Button(self.count_win,text='Stop fit',command=self.stopFit,
                    relief=GROOVE,bg='#E55451',highlightbackground='#E55451')
        b.pack(fill=BOTH,side=LEFT)
        return
def showStopFitFrame ( self , parentframe ) : if parentframe == None : self . count_win = Frame ( ) self . count_win . pack ( ) else : self . count_win = Frame ( parentframe ) self . count_win . grid ( row = 3 , column = 1 , columnspan = 2 , sticky = 'news' ) Label ( self . count_win , text = 'Iteration #' ) . pack ( fill = BOTH , side = LEFT ) Label ( self . count_win , textvariable = self . count ) . pack ( fill = BOTH , side = LEFT ) b = Button ( self . count_win , text = 'Stop fit' , command = self . stopFit , relief = GROOVE , bg = '#E55451' , highlightbackground = '#E55451' ) b . pack ( fill = BOTH , side = LEFT ) return
Show the fit status frame while fitting
Show the fit status frame while fitting
"""Show the fit status frame while fitting"""
self
parentframe