pKaTool/pKa_system.py
def update_scales(self,junk=None,draw=1,doit=None):
        """Update the scale widgets when the user moves a dial"""
        #
        # Folded (normal) groups
        #
        for group in self.groups.keys():
            self.groups[group].update_scales()
        #
        # Update the unfolded scales if theyr're active
        #
        if self.stability_var.get()=='on':
            for group in self.unfolded_groups.keys():
                self.unfolded_groups[group].update_scales()
        #
        # Redraw everything
        #
        self.update_pkasystem_curves(junk,draw,doit)
        return
Update the scale widgets when the user moves a dial
Update the scale widgets when the user moves a dial
Update the scale widgets when the user moves a dial
def update_scales(self,junk=None,draw=1,doit=None):
         Folded (normal) groups
        for group in self.groups.keys():
            self.groups[group].update_scales()
         Update the unfolded scales if theyr're active
        if self.stability_var.get()=='on':
            for group in self.unfolded_groups.keys():
                self.unfolded_groups[group].update_scales()
         Redraw everything
        self.update_pkasystem_curves(junk,draw,doit)
        return
def update_scales ( self , junk = None , draw = 1 , doit = None ) : for group in self . groups . keys ( ) : self . groups [ group ] . update_scales ( ) if self . stability_var . get ( ) == 'on' : for group in self . unfolded_groups . keys ( ) : self . unfolded_groups [ group ] . update_scales ( ) self . update_pkasystem_curves ( junk , draw , doit ) return
Update the scale widgets when the user moves a dial
Update the scale widgets when the user moves a dial
"""Update the scale widgets when the user moves a dial""" # # Folded (normal) groups # # # Update the unfolded scales if theyr're active # # # Redraw everything #
self
junk
draw
doit