This is what you were trying to do:
Pretty horrible to look at but it will work.
How is it supposed to work? What are we making? Are you clicking a button in widget A and want B to receive the call and vice versa or something more complex?
If it’s just buttons:
- both widgets have a custom event and a button:
- when you create widgets:
Admittedly, it is still horrific to look at. Perhaps you could tell more? if both widgets belong to the same parent, this can be dramatically simplified…




