def create_checkbox(self, kind, description, value, handler): checkbox = Checkbox(value=value, description=description, layout=self.layout) checkbox.observe(handler, "value") checkbox.add_class("view_%s" % kind) return checkbox
def create_checkbox(self, kind, description, value, handler): checkbox = Checkbox(value=value, description=description, layout=self.layout) checkbox.observe(handler, "value") checkbox.add_class("view_%s" % kind) return checkbox