How do I create MyButton in Widget?

I want to make a widget “button” in order to use the created style to various widgets. How do I create an event for each copy of a button?

In the Widget Designer window with the button selected scroll down the details panel and you should see OnClicked, OnPressed, etc etc choose one of those and it will add it to the event graph for the widget that is where you add your logic for what happens on each of those events.

When I create a widget “button” and add it to another widget - event green button does not appear.