'Set up a handler for button check/radio box clicks including
the selected indices.
Args:
handler (func) : handler function to call when button is clicked.
Returns:
None'

def on_click(self, handler):

    self.on_change('active', (lambda attr, old, new: handler(new)))
