(self, widget)
Scrollbar position setting changed
Scrollbar position setting changed
Scrollbar position setting changed
def on_scrollbar_position_combobox_changed(self, widget):
        """Scrollbar position setting changed"""
        selected = widget.get_active()
        if selected == 1:
            value = 'right'
        elif selected == 2:
            value = 'hidden'
        else:
            value = 'left'
        self.config['scrollbar_position'] = value
        self.config.save()
def on_scrollbar_position_combobox_changed ( self , widget ) : selected = widget . get_active ( ) if selected == 1 : value = 'right' elif selected == 2 : value = 'hidden' else : value = 'left' self . config [ 'scrollbar_position' ] = value self . config . save ( )