code: def set_calg_cb(self, w, index):
          
          #index = w.get_index()
          name = self.calg_names[index]
          self.t_.set(color_algorithm=name)
docs: This callback is invoked when the user selects a new color
          hashing algorithm from the preferences pane.