Hi Timothy,
The ATS docs have several how-tos on working with custom widgets. That is probably a good place to start
https://docs.mendix.com/addons/ats-addon/ht-two-create-unsupported-widget-actions