There are several core handlers that any widget developer should implement:
- OnPaint - OnCreate - OnGeometryChanged - OnSave - OnLoad
In the first instance we are going to create a widget with no settable properties, just using the OnPaint handler.
widget community.livecode.beaumont.pinkCircle metadata title is "My Pink Circle" metadata author is "Benjamin Beaumont" metadata version is "1.0.0" public handler OnPaint() // Draw widget end handler end widget
# Next