I wanted to have a go at using a Controller to render a widget. The widget would build up a series of shapes in a function then pass them into a view
Where inside the view I would do something like
to render each shape.
But I am at a loss of how to call into a Controller when rending the widget. Usually I can write a WidgetDriver, override the Display function and this automatically called when displayed. Is there anything similar for a Controller?