I want to create a custom checkbox in C++ that has custom data and sends out its own event when checked. I will need to respond to OnCheckStateChanged to add my own behavior but the UWidget (UCheckBox) doesn’t have any Initialize() function like the UUserWidget does.
In fact the checkbox itself does not have any virtual function which can be overriden and not many options to expand on. So I would have to add OnCheckStateChanged in the constructor??
Are these UWidget not intended for inheritance like this??