(self, widget)
Tab position changed
Tab position changed
Tab position changed
def on_tabposcombo_changed(self, widget):
        """Tab position changed"""
        selected = widget.get_active()
        if selected == 1:
            value = 'bottom'
        elif selected == 2:
            value = 'left'
        elif selected == 3:
            value = 'right'
        elif selected == 4:
            value = 'hidden'
        else:
            value = 'top'
        self.config['tab_position'] = value
        self.config.save()
def on_tabposcombo_changed ( self , widget ) : selected = widget . get_active ( ) if selected == 1 : value = 'bottom' elif selected == 2 : value = 'left' elif selected == 3 : value = 'right' elif selected == 4 : value = 'hidden' else : value = 'top' self . config [ 'tab_position' ] = value self . config . save ( )