PTWidgetClassForWidgetAnnot

extern Class _Nullable PTWidgetClassForWidgetAnnot(PTWidget *_Nonnull widget)

Returns the most derived PTWidget subclass for the specified widget annotation.