def get_text_color(self,i): if i.show: return colors.get_color_by_name("shown_process") else: return colors.get_color_by_name("hidden_process")
def get_cell_color(self,i): return colors.get_color_by_name(i.process_type+"_bg")