'Adds a :obj:`.QCheckBox` to ``widget``.
When the checkbox is toggled, the attribute ``value`` of the plot object is set to the checkbox\' check state,
and the callback ``cb_name`` is called.'

def _check_box(self, widget, value, label, cb_name):

    gui.checkBox(widget, self._plot, value, label, callback=self._get_callback(cb_name))
