def _on_checkbox_toggled(self, renderer, path, config_m, config_list_store):
        """Callback method handling a config toggle event

        :param Gtk.CellRenderer renderer: Cell renderer that has been toggled
        :param path: Path within the list store
        :param ConfigModel config_m: The config model related to the toggle option
        :param Gtk.ListStore config_list_store: The list store related to the toggle option
        """
        config_key = config_list_store[int(path)][self.KEY_STORAGE_ID]
        config_value = bool(config_list_store[int(path)][self.TOGGLE_VALUE_STORAGE_ID])
        config_value ^= True
        config_m.set_preliminary_config_value(config_key, config_value)
def _on_checkbox_toggled ( self , renderer , path , config_m , config_list_store ) : config_key = config_list_store [ int ( path ) ] [ self . KEY_STORAGE_ID ] config_value = bool ( config_list_store [ int ( path ) ] [ self . TOGGLE_VALUE_STORAGE_ID ] ) config_value ^= True config_m . set_preliminary_config_value ( config_key , config_value )
Callback method handling a config toggle event

        :param Gtk.CellRenderer renderer: Cell renderer that has been toggled
        :param path: Path within the list store
        :param ConfigModel config_m: The config model related to the toggle option
        :param Gtk.ListStore config_list_store: The list store related to the toggle option