(self, widget)
Background darkness setting changed
Background darkness setting changed
Background darkness setting changed
def on_darken_background_scale_value_changed(self, widget):
        """Background darkness setting changed"""
        value = widget.get_value()  # This one is rounded according to the UI.
        if value > 1.0:
          value = 1.0
        self.config['background_darkness'] = value
        self.config.save()
def on_darken_background_scale_value_changed ( self , widget ) : value = widget . get_value ( ) # This one is rounded according to the UI. if value > 1.0 : value = 1.0 self . config [ 'background_darkness' ] = value self . config . save ( )