Having a look at the test project can be a great help to understand how the widget is setup.