pKaTool/group_control.py
def toggle_fix_intpka(self,event=None):
        """Toggle the fix status of the intpka slider"""
        state=self.intpka_scale.cget('state')
        if state=='disabled':
            self.intpka_scale.configure(state='normal')
            self.intpka_scale.configure(troughcolor='grey')
        else:
            self.intpka_scale.configure(state='disabled')
            self.intpka_scale.configure(troughcolor='red')
        return
Toggle the fix status of the intpka slider
Toggle the fix status of the intpka slider
Toggle the fix status of the intpka slider
def toggle_fix_intpka(self,event=None):
        state=self.intpka_scale.cget('state')
        if state=='disabled':
            self.intpka_scale.configure(state='normal')
            self.intpka_scale.configure(troughcolor='grey')
        else:
            self.intpka_scale.configure(state='disabled')
            self.intpka_scale.configure(troughcolor='red')
        return
def toggle_fix_intpka ( self , event = None ) : state = self . intpka_scale . cget ( 'state' ) if state == 'disabled' : self . intpka_scale . configure ( state = 'normal' ) self . intpka_scale . configure ( troughcolor = 'grey' ) else : self . intpka_scale . configure ( state = 'disabled' ) self . intpka_scale . configure ( troughcolor = 'red' ) return
Toggle the fix status of the intpka slider
Toggle the fix status of the intpka slider
"""Toggle the fix status of the intpka slider"""
self
event