code: def option_changed(self, option, value):
          
          setattr(self, to_text_string(option), value)
          self.shellwidget.set_namespace_view_settings()
          self.refresh_table()
docs: Option has changed