Creating a widget plugin

This example shows how you can use Widget's plugin infrastructure to add additional features to an existing widget.

We create an IO plugin class for Widget called WidgetIO. The plugin adds IO capabilities to the Widget, which, by default, outputs to the Widget's contentBox.