Please take a look at these two:
The approach so far was to keep each task seperate: push button,
toggle button (based on checkbox), toggle-set (based on radio). So far
toggleButton is applied to a checkbox, while radioButton is applied to
some element, and its child-radio-inputs will then be converted to a
Its certainly possible to merge all these into a single button widget,
but that would probably get quite messy in the long run.