the idea is that I’ll re use that component many times, so in its parent widget I need to just bind a different function/event/callback whatever so that each button click triggers a different functionality
it’s just a game menu, but I don’t use a plain button component, it’s embedded as the image I posted
so the button onclicked is there, but I should launch a different event from there
if I select my custom widget, there are no mousedown event on it
so far I have set the event inside the component but it’s obviously not what I want
the event itself must be set in the parent component (the menu) with a different event for each button widget
[edit] pretty sure I have to use dispatchers in this case