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