pKaTool/pKa_system_help.py
def deactivate_callbacks(self):
        """Deactivate all callbacks from the scale widgets"""
        for group in self.groups:
            self.groups[group].intpka.configure(command=self.dummy)
            self.groups[group].active_btn.configure(command=self.dummy)
            self.groups[group].ab_button.configure(command=self.dummy)
            self.groups[group].style_button.configure(command=self.dummy)
            for group2 in self.groups[group].intenes.keys():
                self.groups[group].intenes[group2].configure(command=self.dummy)
        #
        # Unfolded form
        #
        if self.stability_var.get()=='on':
            for group in self.unfolded_groups:
                self.unfolded_groups[group].intpka.configure(command=self.dummy)
                self.unfolded_groups[group].active_btn.configure(command=self.dummy)
                self.unfolded_groups[group].ab_button.configure(command=self.dummy)
                self.unfolded_groups[group].style_button.configure(command=self.dummy)
                for group2 in self.unfolded_groups[group].intenes.keys():
                    self.unfolded_groups[group].intenes[group2].configure(command=self.dummy)
        return
Deactivate all callbacks from the scale widgets
Deactivate all callbacks from the scale widgets
Deactivate all callbacks from the scale widgets
def deactivate_callbacks(self):
        for group in self.groups:
            self.groups[group].intpka.configure(command=self.dummy)
            self.groups[group].active_btn.configure(command=self.dummy)
            self.groups[group].ab_button.configure(command=self.dummy)
            self.groups[group].style_button.configure(command=self.dummy)
            for group2 in self.groups[group].intenes.keys():
                self.groups[group].intenes[group2].configure(command=self.dummy)
         Unfolded form
        if self.stability_var.get()=='on':
            for group in self.unfolded_groups:
                self.unfolded_groups[group].intpka.configure(command=self.dummy)
                self.unfolded_groups[group].active_btn.configure(command=self.dummy)
                self.unfolded_groups[group].ab_button.configure(command=self.dummy)
                self.unfolded_groups[group].style_button.configure(command=self.dummy)
                for group2 in self.unfolded_groups[group].intenes.keys():
                    self.unfolded_groups[group].intenes[group2].configure(command=self.dummy)
        return
def deactivate_callbacks ( self ) : for group in self . groups : self . groups [ group ] . intpka . configure ( command = self . dummy ) self . groups [ group ] . active_btn . configure ( command = self . dummy ) self . groups [ group ] . ab_button . configure ( command = self . dummy ) self . groups [ group ] . style_button . configure ( command = self . dummy ) for group2 in self . groups [ group ] . intenes . keys ( ) : self . groups [ group ] . intenes [ group2 ] . configure ( command = self . dummy ) if self . stability_var . get ( ) == 'on' : for group in self . unfolded_groups : self . unfolded_groups [ group ] . intpka . configure ( command = self . dummy ) self . unfolded_groups [ group ] . active_btn . configure ( command = self . dummy ) self . unfolded_groups [ group ] . ab_button . configure ( command = self . dummy ) self . unfolded_groups [ group ] . style_button . configure ( command = self . dummy ) for group2 in self . unfolded_groups [ group ] . intenes . keys ( ) : self . unfolded_groups [ group ] . intenes [ group2 ] . configure ( command = self . dummy ) return
Deactivate all callbacks from the scale widgets
Deactivate all callbacks from the scale widgets
"""Deactivate all callbacks from the scale widgets""" # # Unfolded form #
self