(self, widget)
Backspace binding setting changed
Backspace binding setting changed
Backspace binding setting changed
def on_backspace_binding_combobox_changed(self, widget):
        """Backspace binding setting changed"""
        selected = widget.get_active()
        if selected == 1:
            value = 'control-h'
        elif selected == 2:
            value = 'ascii-del'
        elif selected == 3:
            value = 'escape-sequence'
        else:
            value = 'automatic'
        self.config['backspace_binding'] = value
        self.config.save()
def on_backspace_binding_combobox_changed ( self , widget ) : selected = widget . get_active ( ) if selected == 1 : value = 'control-h' elif selected == 2 : value = 'ascii-del' elif selected == 3 : value = 'escape-sequence' else : value = 'automatic' self . config [ 'backspace_binding' ] = value self . config . save ( )