
This example shows 2 different checkboxes.
A checkbox is a collection of checkboxes. 

This shows a checkbox with checkboxes arranged horizontally and 
one arranged vertically.
When the pushbutton is pushed the status of the checkboxes is printed
to the commandline.
Notice if you increase the number of checkboxes it might not
place them in the box in a optimal manner.