(self, widget)
Focus type changed
Focus type changed
Focus type changed
def on_focuscombo_changed(self, widget):
        """Focus type changed"""
        selected = widget.get_active()
        if selected == 1:
            value = 'click'
        elif selected == 2:
            value = 'mouse'
        else:
            value = 'system'
        self.config['focus'] = value
        self.config.save()
def on_focuscombo_changed ( self , widget ) : selected = widget . get_active ( ) if selected == 1 : value = 'click' elif selected == 2 : value = 'mouse' else : value = 'system' self . config [ 'focus' ] = value self . config . save ( )