def add_mode_button_control(self, mode_name, behaviour):
     super(DisplayingSkinableModesComponent,
           self).add_mode_button_control(mode_name, behaviour)
     self.mode_display[len(self._mode_list) - 1] = to_camel_case_name(
         mode_name, separator=' ')
     self.mode_color_fields[(
         len(self._mode_list) -
         1)].color = 'Mode.' + to_camel_case_name(mode_name) + '.On'
 def _update_selected_mode_color_field(self):
     self.selected_mode_color_field.color = 'Mode.{}.On'.format(
         to_camel_case_name(self.selected_mode)
     ) if self.selected_mode else 'DefaultButton.Disabled'